Skip to content

Commit

Permalink
_namedDests to pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz authored Sep 19, 2024
1 parent 56974ea commit 6e7dc23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pypdf/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2699,7 +2699,7 @@ def merge(
position += 1
srcpages[pg.indirect_reference.idnum].original_page = pg

reader._namedDests = (
reader._named_destinations = (
reader.named_destinations
) # need for the outline processing below

Expand Down Expand Up @@ -2739,7 +2739,7 @@ def _process_named_dests(dest: Any) -> None:
].indirect_reference
self.add_named_destination_array(dest["/Title"], arr)

for dest in reader._namedDests.values():
for dest in reader._named_destinations.values():
_process_named_dests(dest)

outline_item_typ: TreeObject
Expand Down

0 comments on commit 6e7dc23

Please sign in to comment.