Skip to content

Commit 664c8fa

Browse files
authored
Fix small typo (#36711)
1 parent 7643d28 commit 664c8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/tools/timedeltas.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def to_timedelta(arg, unit=None, errors="raise"):
9393
unit = parse_timedelta_unit(unit)
9494

9595
if errors not in ("ignore", "raise", "coerce"):
96-
raise ValueError("errors must be one of 'ignore', 'raise', or 'coerce'}")
96+
raise ValueError("errors must be one of 'ignore', 'raise', or 'coerce'.")
9797

9898
if unit in {"Y", "y", "M"}:
9999
raise ValueError(

0 commit comments

Comments
 (0)