Skip to content

Commit

Permalink
STY: Small increase of readability
Browse files Browse the repository at this point in the history
Using enumerate more in PdfWriter.
  • Loading branch information
j-t-1 authored Dec 1, 2024
1 parent 90cbd0c commit f9f3e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,7 +1451,7 @@ def list_objects_in_increment(self) -> List[IndirectObject]:
obj is not None
and (
i >= len(self._original_hash)
or cast(PdfObject, obj).hash_bin() != self._original_hash[i]
or obj.hash_bin() != self._original_hash[i]
)
)
]
Expand Down

0 comments on commit f9f3e55

Please sign in to comment.