mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Spelling fixes to docs, docstrings, and comments (GH-6374)
This commit is contained in:
parent
0399cf9b5e
commit
61f82e0e33
15 changed files with 16 additions and 16 deletions
|
@ -463,7 +463,7 @@ def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"):
|
|||
z = z[:3] + z[4:]
|
||||
if len(z) > 5:
|
||||
if z[5] != ':':
|
||||
msg = f"Unconsistent use of : in {found_dict['z']}"
|
||||
msg = f"Inconsistent use of : in {found_dict['z']}"
|
||||
raise ValueError(msg)
|
||||
z = z[:5] + z[6:]
|
||||
hours = int(z[1:3])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue