Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eb9a9b6

Browse files
Fixed a typo in a comment (issue #23016).
1 parent 9566de1 commit eb9a9b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/warnings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def showwarning(message, category, filename, lineno, file=None, line=None):
1212
if file is None:
1313
file = sys.stderr
1414
if file is None:
15-
# sys.stderr is None when ran with pythonw.exe - warnings get lost
15+
# sys.stderr is None when run with pythonw.exe - warnings get lost
1616
return
1717
try:
1818
file.write(formatwarning(message, category, filename, lineno, line))

0 commit comments

Comments
 (0)