Skip to content

Commit aa30678

Browse files
committed
update types in pyi
1 parent aaa3e99 commit aa30678

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/_libs/tslibs/timedeltas.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Timedelta(timedelta):
9595
def __new__( # type: ignore[misc]
9696
cls: type[Self],
9797
value=...,
98-
unit: str | None = ...,
98+
input_unit: str | None = ...,
9999
**kwargs: float | np.integer | np.floating,
100100
) -> Self | NaTType: ...
101101
@classmethod

pandas/_libs/tslibs/timestamps.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Timestamp(datetime):
5151
*,
5252
nanosecond: int | None = ...,
5353
tz: _TimeZones = ...,
54-
unit: str | int | None = ...,
54+
input_unit: str | None = ...,
5555
fold: int | None = ...,
5656
) -> Self | NaTType: ...
5757
@classmethod

0 commit comments

Comments
 (0)