Spelling fixes to docs, docstrings, and comments (GH-6374)

This commit is contained in:
Ville Skyttä 2018-04-20 23:08:45 +03:00 committed by Terry Jan Reedy
parent 0399cf9b5e
commit 61f82e0e33
15 changed files with 16 additions and 16 deletions

View file

@ -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])