Removed unnecessary init method

This commit is contained in:
Andrew Murray 2018-06-03 16:43:30 +10:00
parent f1704a6f21
commit 1947d65c7b

View File

@ -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__"):