Skip to content

Commit 03d4c42

Browse files
author
shirzady1934
committed
add pyright comment lines
1 parent 1de98d2 commit 03d4c42

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pandas-stubs/core/series.pyi

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1577,13 +1577,17 @@ class Series(IndexOpsMixin[S1], NDFrame):
15771577
# just failed to generate these so I couldn't match
15781578
# them up.
15791579
@overload
1580-
def __add__(self: Series[int], other: int) -> Series[int]: ...
1580+
def __add__( # pyright: ignore[reportOverlappingOverload]
1581+
self: Series[int], other: int
1582+
) -> Series[int]: ...
15811583
@overload
15821584
def __add__(self: Series[int], other: float) -> Series[float]: ...
15831585
@overload
15841586
def __add__(self: Series[int], other: complex) -> Series[complex]: ...
15851587
@overload
1586-
def __add__(self: Series[float], other: int) -> Series[float]: ...
1588+
def __add__( # pyright: ignore[reportOverlappingOverload]
1589+
self: Series[float], other: int
1590+
) -> Series[float]: ...
15871591
@overload
15881592
def __add__(self: Series[float], other: float) -> Series[float]: ...
15891593
@overload

0 commit comments

Comments
 (0)