MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / __mod__

Method __mod__

site-packages/numpy/core/defchararray.py:2128–2138  ·  view source on GitHub ↗

Return (self % i), that is pre-Python 2.6 string formatting (iterpolation), element-wise for a pair of array_likes of `string_` or `unicode_`. See also -------- mod

(self, i)

Source from the content-addressed store, hash-verified

2126 return asarray(multiply(self, i))
2127
2128 def __mod__(self, i):
2129 """
2130 Return (self % i), that is pre-Python 2.6 string formatting
2131 (iterpolation), element-wise for a pair of array_likes of `string_`
2132 or `unicode_`.
2133
2134 See also
2135 --------
2136 mod
2137 """
2138 return asarray(mod(self, i))
2139
2140 def __rmod__(self, other):
2141 return NotImplemented

Callers

nothing calls this directly

Calls 2

asarrayFunction · 0.70
modFunction · 0.70

Tested by

no test coverage detected