Commit eb9a9b6f authored by Serhiy Storchaka's avatar Serhiy Storchaka

Fixed a typo in a comment (issue #23016).

parent 9566de18
......@@ -12,7 +12,7 @@ def showwarning(message, category, filename, lineno, file=None, line=None):
if file is None:
file = sys.stderr
if file is None:
# sys.stderr is None when ran with pythonw.exe - warnings get lost
# sys.stderr is None when run with pythonw.exe - warnings get lost
return
try:
file.write(formatwarning(message, category, filename, lineno, line))
......
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