Merge pull request #3149 from radarhere/super

Removed unnecessary init method
This commit is contained in:
Hugo 2018-06-04 15:38:30 +03:00 committed by GitHub
commit b5357c4e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,9 +240,6 @@ class PdfArray(list):
class PdfDict(UserDict):
def __init__(self, *args, **kwargs):
UserDict.__init__(self, *args, **kwargs)
def __setattr__(self, key, value):
if key == "data":
if hasattr(UserDict, "__setattr__"):