Change old-style classes into new-style. Closes #52
This commit is contained in:
parent
9ed5b233a2
commit
0de0c6a116
2 changed files with 6 additions and 6 deletions
|
|
@ -29,7 +29,7 @@ for _marker in range(0xff90, 0xff94):
|
||||||
_valid_markers.append(_marker)
|
_valid_markers.append(_marker)
|
||||||
|
|
||||||
|
|
||||||
class Codestream:
|
class Codestream(object):
|
||||||
"""Container for codestream information.
|
"""Container for codestream information.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
|
|
@ -869,7 +869,7 @@ class Codestream:
|
||||||
return TLMsegment(**kwargs)
|
return TLMsegment(**kwargs)
|
||||||
|
|
||||||
|
|
||||||
class Segment:
|
class Segment(object):
|
||||||
"""Segment information.
|
"""Segment information.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ from .core import _method_display
|
||||||
from .core import _reader_requirements_display
|
from .core import _reader_requirements_display
|
||||||
|
|
||||||
|
|
||||||
class Jp2kBox:
|
class Jp2kBox(object):
|
||||||
"""Superclass for JPEG 2000 boxes.
|
"""Superclass for JPEG 2000 boxes.
|
||||||
|
|
||||||
Attributes
|
Attributes
|
||||||
|
|
@ -243,7 +243,7 @@ class ColourSpecificationBox(Jp2kBox):
|
||||||
return box
|
return box
|
||||||
|
|
||||||
|
|
||||||
class _ICCProfile:
|
class _ICCProfile(object):
|
||||||
"""
|
"""
|
||||||
"""
|
"""
|
||||||
profile_class = {b'scnr': 'input device profile',
|
profile_class = {b'scnr': 'input device profile',
|
||||||
|
|
@ -1773,7 +1773,7 @@ class UUIDBox(Jp2kBox):
|
||||||
return box
|
return box
|
||||||
|
|
||||||
|
|
||||||
class Exif:
|
class Exif(object):
|
||||||
"""
|
"""
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
|
|
@ -1826,7 +1826,7 @@ class Exif:
|
||||||
self.exif_gpsinfo = gps.processed_ifd
|
self.exif_gpsinfo = gps.processed_ifd
|
||||||
|
|
||||||
|
|
||||||
class _Ifd:
|
class _Ifd(object):
|
||||||
"""
|
"""
|
||||||
Attributes
|
Attributes
|
||||||
----------
|
----------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue