Skip to content

Commit 04f6608

Browse files
committed
Add comment linking type ignores to mypy issue
1 parent 601ab72 commit 04f6608

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/io/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,9 @@ def get_handle(
400400

401401
if compression:
402402

403+
# GH33398 the type ignores here seem related to mypy issue #5382;
404+
# it may be possible to remove them once that is resolved.
405+
403406
# GZ Compression
404407
if compression == "gzip":
405408
if is_path:

0 commit comments

Comments
 (0)