mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-15 09:44:46 +03:00
Removed helper method _i8, unused since dump() was removed
This commit is contained in:
parent
d80cf0ee1b
commit
bc2519abf1
|
@ -34,10 +34,6 @@ def _i(c: bytes) -> int:
|
|||
return i32((b"\0\0\0\0" + c)[-4:])
|
||||
|
||||
|
||||
def _i8(c: int | bytes) -> int:
|
||||
return c if isinstance(c, int) else c[0]
|
||||
|
||||
|
||||
##
|
||||
# Image plugin for IPTC/NAA datastreams. To read IPTC/NAA fields
|
||||
# from TIFF and JPEG files, use the <b>getiptcinfo</b> function.
|
||||
|
|
Loading…
Reference in New Issue
Block a user