summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-14 08:53:50 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-14 08:53:50 (GMT)
commit2c63c4b85d7209991ad7117ec932da121821de78 (patch)
tree2e5e698d78fc85b7e23e8492b8d3370599ce46da
parent2a7d05a9f2ab15b8e0e5bf024e230748681ec72b (diff)
parenteb9a9b6ffa7946f0e76f5425bacadb4944e615f8 (diff)
downloadcpython-2c63c4b85d7209991ad7117ec932da121821de78.zip
cpython-2c63c4b85d7209991ad7117ec932da121821de78.tar.gz
cpython-2c63c4b85d7209991ad7117ec932da121821de78.tar.bz2
Fixed a typo in a comment (issue #23016).
-rw-r--r--Lib/warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py
index 8ca0f73..5ca4b9c 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))