Skip to content

Commit

Permalink
MAINT: Explicitly provide Any for IO generic argument (#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilehmann authored Oct 28, 2023
1 parent 9047079 commit e587157
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 @@ -70,7 +70,7 @@
float, float, float, float, float, float
]

StreamType = IO
StreamType = IO[Any]
StrByteType = Union[str, StreamType]

DEPR_MSG_NO_REPLACEMENT = "{} is deprecated and will be removed in pypdf {}."
Expand Down

0 comments on commit e587157

Please sign in to comment.