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

Method __div__

numpy/core/tests/test_multiarray.py:4056–4057  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

4054 raise AssertionError('__mul__ should not be called')
4055
4056 def __div__(self, other):
4057 raise AssertionError('__div__ should not be called')
4058
4059 def __pow__(self, exp):
4060 return SomeClass(num=self.num ** exp)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected