From cc71a795df4986bca5f88ce1e30f81608ca7387d Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Tue, 5 Apr 2016 06:19:42 +0000 Subject: Fix typos in documentation and comments --- Lib/warnings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/warnings.py') diff --git a/Lib/warnings.py b/Lib/warnings.py index cf9f5b282a..dfa13ee3fc 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() -- cgit v1.2.1