summaryrefslogtreecommitdiffstats
path: root/Lib/_strptime.py
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-04-20 20:08:45 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2018-04-20 20:08:45 (GMT)
commit61f82e0e337f971da57f8f513abfe693edf95aa5 (patch)
treed783b7677df1f57618381c0b7c925a990a115444 /Lib/_strptime.py
parent0399cf9b5e370516e3d0aed6a63ff74aff5eadb5 (diff)
downloadcpython-61f82e0e337f971da57f8f513abfe693edf95aa5.zip
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.gz
cpython-61f82e0e337f971da57f8f513abfe693edf95aa5.tar.bz2
Spelling fixes to docs, docstrings, and comments (GH-6374)
Diffstat (limited to 'Lib/_strptime.py')
-rw-r--r--Lib/_strptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_strptime.py b/Lib/_strptime.py
index 1be0485..c8f2f94 100644
--- a/Lib/_strptime.py
+++ b/Lib/_strptime.py
@@ -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])