diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-04-05 06:19:42 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-05 06:19:42 (GMT) |
commit | cc71a795df4986bca5f88ce1e30f81608ca7387d (patch) | |
tree | 2372590be9a189f04f3e1cd048af3fd5255a4ae7 /Lib/warnings.py | |
parent | 28f35b24b67961626caa00dfee2c18223a05b696 (diff) | |
download | cpython-cc71a795df4986bca5f88ce1e30f81608ca7387d.zip cpython-cc71a795df4986bca5f88ce1e30f81608ca7387d.tar.gz cpython-cc71a795df4986bca5f88ce1e30f81608ca7387d.tar.bz2 |
Fix typos in documentation and comments
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r-- | Lib/warnings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py index cf9f5b2..dfa13ee 100644 --- a/Lib/warnings.py +++ b/Lib/warnings.py @@ -28,7 +28,7 @@ def formatwarning(message, category, filename, lineno, line=None): line = linecache.getline(filename, lineno) except Exception: # When a warning is logged during Python shutdown, linecache - # and the improt machinery don't work anymore + # and the import machinery don't work anymore line = None if line: line = line.strip() |