diff --git a/pypdf/generic.py b/pypdf/generic.py index 5e5555da3..3f269b545 100644 --- a/pypdf/generic.py +++ b/pypdf/generic.py @@ -734,7 +734,7 @@ def readFromStream(stream, pdf): class TreeObject(DictionaryObject): def __init__(self): - DictionaryObject.__init__() + DictionaryObject.__init__(self) def hasChildren(self): return '/First' in self