diff --git a/Lib/warnings.py b/Lib/warnings.py index 3a8fc5db651..70d087e6d9a 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -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))