]> granicus.if.org Git - python/commitdiff
Fixed a typo in a comment (issue #23016).
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 14 Dec 2014 08:53:00 +0000 (10:53 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Sun, 14 Dec 2014 08:53:00 +0000 (10:53 +0200)
Lib/warnings.py

index 3a8fc5db6516570d2c0e0ad37d5d64c29b917200..70d087e6d9ada8ce3695e9038e93562426bfa8ab 100644 (file)
@@ -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))