mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typos in documentation and comments
This commit is contained in:
parent
28f35b24b6
commit
cc71a795df
7 changed files with 13 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue