Skip to content

Commit e9065cb

Browse files
Kevin Sheppardbashtage
Kevin Sheppard
authored andcommitted
REV: Revert Literal due to violation of Liskov subst. princip.
1 parent b085057 commit e9065cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas-stubs/_libs/tslibs/timestamps.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Timestamp(datetime):
131131
second: int | None = ...,
132132
microsecond: int | None = ...,
133133
tzinfo: _tzinfo | None = ...,
134-
fold: Literal[0, 1] | None = ...,
134+
fold: int | None = ...,
135135
) -> Timestamp: ...
136136
def astimezone(self: _DatetimeT, tz: _tzinfo | None = ...) -> _DatetimeT: ...
137137
def ctime(self) -> str: ...

0 commit comments

Comments
 (0)