@@ -119,7 +119,8 @@ def __init__(self, file_like, spec, *, mmap=True, order=None, keep_file_open=Non
119
119
order : {None, 'F', 'C'}, optional, keyword only
120
120
`order` controls the order of the data array layout. Fortran-style,
121
121
column-major order may be indicated with 'F', and C-style, row-major
122
- order may be indicated with 'C'. The default order is 'F'.
122
+ order may be indicated with 'C'. None gives the default order, that
123
+ comes from the `_default_order` class variable.
123
124
keep_file_open : { None, True, False }, optional, keyword only
124
125
`keep_file_open` controls whether a new file handle is created
125
126
every time the image is accessed, or a single file handle is
@@ -133,7 +134,7 @@ def __init__(self, file_like, spec, *, mmap=True, order=None, keep_file_open=Non
133
134
if mmap not in (True , False , 'c' , 'r' ):
134
135
raise ValueError ("mmap should be one of {True, False, 'c', 'r'}" )
135
136
if order not in (None , 'C' , 'F' ):
136
- raise ValueError ("order should be one of {'C', 'F'}" )
137
+ raise ValueError ("order should be one of {None, 'C', 'F'}" )
137
138
self .file_like = file_like
138
139
if hasattr (spec , 'get_data_shape' ):
139
140
slope , inter = spec .get_slope_inter ()
0 commit comments