Skip to content

Commit 11932c5

Browse files
committed
💥 remove the floordiv, mod and divmod number methods
1 parent e4521d0 commit 11932c5

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

‎src/numpy-stubs/__init__.pyi

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4459,22 +4459,6 @@ class number(
44594459
@overload
44604460
def __rtruediv__(self, x: _nt.ToTimeDelta_0d, /) -> timedelta64: ...
44614461

4462-
# TODO(jorenham): finish
4463-
4464-
#
4465-
@abc.abstractmethod
4466-
def __floordiv__(self: number[Any, float], x: Any, /) -> floating | integer: ...
4467-
@abc.abstractmethod
4468-
def __rfloordiv__(self: number[Any, float], x: Any, /) -> floating | integer: ...
4469-
@abc.abstractmethod
4470-
def __mod__(self: number[Any, float], x: Any, /) -> floating | integer: ...
4471-
@abc.abstractmethod
4472-
def __rmod__(self: number[Any, float], x: Any, /) -> floating | integer: ...
4473-
@abc.abstractmethod
4474-
def __divmod__(self: number[Any, float], x: Any, /) -> _2Tuple[floating | integer]: ...
4475-
@abc.abstractmethod
4476-
def __rdivmod__(self: number[Any, float], x: Any, /) -> _2Tuple[floating | integer]: ...
4477-
44784462
#
44794463
def __class_getitem__(cls, item: Any, /) -> GenericAlias: ...
44804464

0 commit comments

Comments
 (0)