Skip to content

Commit b6a1ee5

Browse files
xh2pull[bot]
authored andcommitted
Fix small typo (#36711)
1 parent 8b8b610 commit b6a1ee5

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)