MCPcopy Create free account
hub / github.com/numpy/numpy / __irshift__

Method __irshift__

numpy/array_api/_array_object.py:984–992  ·  view source on GitHub ↗

Performs the operation __irshift__.

(self: Array, other: Union[int, Array], /)

Source from the content-addressed store, hash-verified

982 return pow(other, self)
983
984 def __irshift__(self: Array, other: Union[int, Array], /) -> Array:
985 """
986 Performs the operation __irshift__.
987 """
988 other = self._check_allowed_dtypes(other, "integer", "__irshift__")
989 if other is NotImplemented:
990 return other
991 self._array.__irshift__(other._array)
992 return self
993
994 def __rrshift__(self: Array, other: Union[int, Array], /) -> Array:
995 """

Callers

nothing calls this directly

Calls 1

_check_allowed_dtypesMethod · 0.95

Tested by

no test coverage detected