Skip to content

Commit f0f67f8

Browse files
danigmradarhere
andauthored
PdfParser: Fix typing in read_prev_trailer
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
1 parent 78ee80a commit f0f67f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PIL/PdfParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ def read_trailer(self) -> None:
692692
self.read_prev_trailer(self.trailer_dict[b"Prev"])
693693

694694
def read_prev_trailer(
695-
self, xref_section_offset: int, processed_offsets: list[int] = None
695+
self, xref_section_offset: int, processed_offsets: list[int] | None = None
696696
) -> None:
697697
assert self.buf is not None
698698
trailer_offset = self.read_xref_table(xref_section_offset=xref_section_offset)

0 commit comments

Comments
 (0)