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

Method __rsub__

numpy/f2py/symbolic.py:464–467  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

462 return self + (-other)
463
464 def __rsub__(self, other):
465 if isinstance(other, number_types):
466 return as_number(other) - self
467 return NotImplemented
468
469 def __mul__(self, other):
470 other = as_expr(other)

Callers

nothing calls this directly

Calls 1

as_numberFunction · 0.85

Tested by

no test coverage detected