Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7079240 commit aa90e7cCopy full SHA for aa90e7c
1 file changed
Lib/idlelib/PyShell.py
@@ -59,7 +59,7 @@ def idle_showwarning(message, category, filename, lineno,
59
file = warning_stream
60
try:
61
file.write(warnings.formatwarning(message, category, filename,
62
- lineno, file=file, line=line))
+ lineno, line=line))
63
except IOError:
64
pass ## file (probably __stderr__) is invalid, warning dropped.
65
warnings.showwarning = idle_showwarning
0 commit comments