Skip to content

Commit 56a5711

Browse files
committed
Fix doc string (closes #79)
1 parent 4c89145 commit 56a5711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spectral/spectral.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,11 +284,11 @@ def __repr__(self):
284284
class ImageArray(numpy.ndarray, Image):
285285
'''ImageArray is an interface to an image loaded entirely into memory.
286286
ImageArray objects are returned by :meth:`spectral.SpyFile.load`.
287-
This class inherits from both numpy.ndarray and SpyFile, providing the
287+
This class inherits from both numpy.ndarray and Image, providing the
288288
interfaces of both classes.
289289
'''
290290

291-
format = 'f' # Use 4-byte floats form data arrays
291+
format = 'f' # Use 4-byte floats for data arrays
292292

293293
def __new__(subclass, data, spyfile):
294294
obj = numpy.asarray(data).view(subclass)

0 commit comments

Comments
 (0)