Skip to content

Commit 46d8af6

Browse files
committed
fix copy/paste screwup
1 parent 74604a9 commit 46d8af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/_libs/tslibs/timedeltas.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2028,7 +2028,7 @@ class Timedelta(_Timedelta):
20282028

20292029
if (
20302030
unit is not None
2031-
and not (is_float_object(ts_input) or is_integer_object(ts_input))
2031+
and not (is_float_object(value) or is_integer_object(value))
20322032
):
20332033
# GH#53198
20342034
warnings.warn(

0 commit comments

Comments
 (0)