Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/_strptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ def _strptime(data_string, format="%a %b %d %H:%M:%S %Y"):
raise ValueError(
f"Missing colon in %:z before '{rest}', got '{data_string}'"
)
raise ValueError("unconverted data remains: %s" % rest)
raise ValueError("unconverted data remains: %r" % rest)

iso_year = year = None
month = day = 1
Expand Down
Loading