Kaydet (Commit) aa90e7c5 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Fix closes issue12438 - idlelib.PyShell's showformatwarning method was passing an incorrect arg.

üst 7079240c
......@@ -59,7 +59,7 @@ else:
file = warning_stream
try:
file.write(warnings.formatwarning(message, category, filename,
lineno, file=file, line=line))
lineno, line=line))
except IOError:
pass ## file (probably __stderr__) is invalid, warning dropped.
warnings.showwarning = idle_showwarning
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment