mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
984c2e7f30
commit
71b8d99b36
|
@ -144,9 +144,7 @@ class XrefTable:
|
||||||
elif key in self.deleted_entries:
|
elif key in self.deleted_entries:
|
||||||
generation = self.deleted_entries[key]
|
generation = self.deleted_entries[key]
|
||||||
else:
|
else:
|
||||||
msg = (
|
msg = f"object ID {key} cannot be deleted because it doesn't exist"
|
||||||
f"object ID {key} cannot be deleted because it doesn't exist"
|
|
||||||
)
|
|
||||||
raise IndexError(msg)
|
raise IndexError(msg)
|
||||||
|
|
||||||
def __contains__(self, key):
|
def __contains__(self, key):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user