Skip to content

Commit bc2519a

Browse files
committed
Removed helper method _i8, unused since dump() was removed
1 parent d80cf0e commit bc2519a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/PIL/IptcImagePlugin.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ def _i(c: bytes) -> int:
3434
return i32((b"\0\0\0\0" + c)[-4:])
3535

3636

37-
def _i8(c: int | bytes) -> int:
38-
return c if isinstance(c, int) else c[0]
39-
40-
4137
##
4238
# Image plugin for IPTC/NAA datastreams. To read IPTC/NAA fields
4339
# from TIFF and JPEG files, use the <b>getiptcinfo</b> function.

0 commit comments

Comments
 (0)