Skip to content

Commit 8fa8b7f

Browse files
committed
Fix types
1 parent 3f2ddc6 commit 8fa8b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ def _is_binary_mode(handle: FilePathOrBuffer, mode: str) -> bool:
10501050
return False
10511051

10521052
# classes that expect bytes
1053-
binary_classes = [BufferedIOBase, RawIOBase]
1053+
binary_classes: list[type] = [BufferedIOBase, RawIOBase]
10541054
# Zstandard doesn't use any of the builtin base classes
10551055
if _ZstdDecompressorReader is not None:
10561056
binary_classes.append(_ZstdDecompressorReader)

0 commit comments

Comments
 (0)