Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pubpub-zz committed Jul 22, 2023
1 parent 9b2d621 commit 98f3231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypdf/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
DEPR_MSG_HAPPENED = "{} is deprecated and was removed in pypdf {}. Use {} instead."


def parse_iso8824_date(text: str) -> Optional[datetime]:
def parse_iso8824_date(text: Optional[str]) -> Optional[datetime]:
orgtext = text
if text is None:
return None
Expand Down

0 comments on commit 98f3231

Please sign in to comment.