summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-12-14 08:53:00 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-12-14 08:53:00 (GMT)
commiteb9a9b6ffa7946f0e76f5425bacadb4944e615f8 (patch)
tree2402d93512aeb601aceba788983cc2ed4fb4528c
parent9566de18e60268c0899c797292dc6c467f6f6531 (diff)
downloadcpython-eb9a9b6ffa7946f0e76f5425bacadb4944e615f8.zip
cpython-eb9a9b6ffa7946f0e76f5425bacadb4944e615f8.tar.gz
cpython-eb9a9b6ffa7946f0e76f5425bacadb4944e615f8.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 3a8fc5d..70d087e 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))