Skip to content

Commit 9b24c32

Browse files
GH1065 Realign Timestamp args with pandas
1 parent 8bd0ac6 commit 9b24c32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas-stubs/_libs/tslibs/timestamps.pyi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,18 +59,18 @@ class Timestamp(datetime):
5959
def __new__(
6060
cls,
6161
ts_input: np.integer | float | str | _date | datetime | np.datetime64 = ...,
62-
tz: str | _tzinfo | int | None = ...,
63-
unit: str | int | None = ...,
6462
year: int | None = ...,
6563
month: int | None = ...,
6664
day: int | None = ...,
6765
hour: int | None = ...,
6866
minute: int | None = ...,
6967
second: int | None = ...,
7068
microsecond: int | None = ...,
69+
tzinfo: _tzinfo | None = ...,
7170
*,
7271
nanosecond: int | None = ...,
73-
tzinfo: _tzinfo | None = ...,
72+
tz: str | _tzinfo | int | None = ...,
73+
unit: str | int | None = ...,
7474
fold: Literal[0, 1] | None = ...,
7575
) -> Self: ...
7676
# GH 46171

0 commit comments

Comments
 (0)