summaryrefslogtreecommitdiffstats
path: root/Lib/warnings.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/warnings.py')
-rw-r--r--Lib/warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py
index 1ece514..f4c8cdc 100644
--- a/Lib/warnings.py
+++ b/Lib/warnings.py
@@ -43,7 +43,7 @@ def _formatwarnmsg_impl(msg):
line = linecache.getline(msg.filename, msg.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
linecache = None
else: