Skip to content

Commit 10115d4

Browse files
Remove debugging remnatnts.
1 parent d753a61 commit 10115d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/_strptime.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,8 @@ def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"):
452452
_regex_cache[format] = format_regex
453453
found = format_regex.match(data_string)
454454
if not found:
455-
raise ValueError("time data %r does not match format %r :: /%s/" %
456-
(data_string, format, format_regex.pattern))
455+
raise ValueError("time data %r does not match format %r" %
456+
(data_string, format))
457457
if len(data_string) != found.end():
458458
raise ValueError("unconverted data remains: %s" %
459459
data_string[found.end():])

0 commit comments

Comments
 (0)