Skip to content

Commit 12aaa5b

Browse files
committed
Changed warnings.formatwarning in respnse to error found by mypy.
Signed-off-by: Ronald Barnes <[email protected]>
1 parent 83a0ef9 commit 12aaa5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers/python_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def __init__(
12321232
## Deprecation warnings ignored by default, show them:
12331233
warnings.simplefilter("always")
12341234
warnings.formatwarning = (
1235-
lambda msg, cat, file, line, args1: f"NOTICE:\n{msg}\n\n"
1235+
lambda msg, cat, file, lineno, line: f"NOTICE:\n{msg}\n\n"
12361236
f'{cat}\nFile "{file}", line {line} '
12371237
"in FixedWidthReader.__init__\n"
12381238
)

0 commit comments

Comments
 (0)