mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 02:16:19 +03:00
Removed unnecessary init method
This commit is contained in:
parent
f1704a6f21
commit
1947d65c7b
|
@ -240,9 +240,6 @@ class PdfArray(list):
|
||||||
|
|
||||||
|
|
||||||
class PdfDict(UserDict):
|
class PdfDict(UserDict):
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
UserDict.__init__(self, *args, **kwargs)
|
|
||||||
|
|
||||||
def __setattr__(self, key, value):
|
def __setattr__(self, key, value):
|
||||||
if key == "data":
|
if key == "data":
|
||||||
if hasattr(UserDict, "__setattr__"):
|
if hasattr(UserDict, "__setattr__"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user