@@ -34,7 +34,7 @@ def from_stream(cls, stream):
3434 return cls (px_width , px_height , horz_dpi , vert_dpi )
3535
3636
37- class _TiffParser ( object ) :
37+ class _TiffParser :
3838 """Parses a TIFF image stream to extract the image properties found in its main
3939 image file directory (IFD)"""
4040
@@ -119,7 +119,7 @@ def _make_stream_reader(cls, stream):
119119 return StreamReader (stream , endian )
120120
121121
122- class _IfdEntries ( object ) :
122+ class _IfdEntries :
123123 """Image File Directory for a TIFF image, having mapping (dict) semantics allowing
124124 "tag" values to be retrieved by tag code."""
125125
@@ -149,7 +149,7 @@ def get(self, tag_code, default=None):
149149 return self ._entries .get (tag_code , default )
150150
151151
152- class _IfdParser ( object ) :
152+ class _IfdParser :
153153 """Service object that knows how to extract directory entries from an Image File
154154 Directory (IFD)"""
155155
@@ -186,7 +186,7 @@ def _IfdEntryFactory(stream_rdr, offset):
186186 return EntryCls .from_stream (stream_rdr , offset )
187187
188188
189- class _IfdEntry ( object ) :
189+ class _IfdEntry :
190190 """Base class for IFD entry classes.
191191
192192 Subclasses are differentiated by value type, e.g. ASCII, long int, etc.
0 commit comments