We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f4ac76 commit bea8d90Copy full SHA for bea8d90
pypdf/generic/_base.py
@@ -283,9 +283,6 @@ def indirect_reference(self) -> "IndirectObject": # type: ignore[override]
283
def get_object(self) -> Optional["PdfObject"]:
284
return self.pdf.get_object(self)
285
286
- def __deepcopy__(self, memo: Any) -> "IndirectObject":
287
- return IndirectObject(self.idnum, self.generation, self.pdf)
288
-
289
def _get_object_with_check(self) -> Optional["PdfObject"]:
290
o = self.get_object()
291
# the check is done here to not slow down get_object()
0 commit comments