Skip to content
Merged
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 pandas/_libs/tslibs/strptime.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def array_strptime(object[:] values, object fmt,
f"in format '{fmt}'")
# IndexError only occurs when the format string is "%"
except IndexError:
raise ValueError("stray % in format '{fmt}'")
raise ValueError(f"stray % in format '{fmt}'")
_regex_cache[fmt] = format_regex

result = np.empty(n, dtype='M8[ns]')
Expand Down