Skip to content

Commit 88e38a2

Browse files
committed
♻️ use float instead of float | int
1 parent bdb471e commit 88e38a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/numpy-stubs/__init__.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4277,15 +4277,15 @@ class bool(generic[_BoolItemT_co], Generic[_BoolItemT_co]):
42774277
@overload
42784278
def __truediv__(self, x: float | integer | bool_, /) -> float64: ...
42794279
@overload
4280-
def __truediv__(self, x: float | complex, /) -> complex128 | float64: ...
4280+
def __truediv__(self, x: complex, /) -> complex128 | float64: ...
42814281

42824282
#
42834283
@overload
42844284
def __rtruediv__(self, x: _InexactT, /) -> _InexactT: ...
42854285
@overload
42864286
def __rtruediv__(self, x: float | integer, /) -> float64: ...
42874287
@overload
4288-
def __rtruediv__(self, x: float | complex, /) -> complex128 | float64: ...
4288+
def __rtruediv__(self, x: complex, /) -> complex128 | float64: ...
42894289

42904290
#
42914291
@overload

0 commit comments

Comments
 (0)