diff options
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()  | 
