Fix typos in documentation and comments

This commit is contained in:
Martin Panter 2016-04-05 06:19:42 +00:00
parent 28f35b24b6
commit cc71a795df
7 changed files with 13 additions and 13 deletions

View file

@ -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()