Skip to content

Commit b16cff1

Browse files
committed
one more override
1 parent 3d6df61 commit b16cff1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pandas-stubs/_libs/tslibs/timestamps.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ class Timestamp(datetime, SupportsIndex):
111111
def fold(self) -> int: ...
112112
if sys.version_info >= (3, 12):
113113
@classmethod
114-
# TODO: reduce the double unused-ignore-comment when astral-sh/ty#2681 is resolved
115-
def fromtimestamp( # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override-param-name] # ty: ignore[invalid-method-override,unused-ignore-comment,unused-ignore-comment]
114+
@override
115+
def fromtimestamp( # pyright: ignore[reportIncompatibleMethodOverride] # pyrefly: ignore[bad-override-param-name] # ty: ignore[invalid-method-override]
116116
cls, t: float, tz: _tzinfo | str | None = None
117117
) -> Self: ...
118118
else:

0 commit comments

Comments
 (0)