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

Method __radd__

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

Source from the content-addressed store, hash-verified

454 return NotImplemented
455
456 def __radd__(self, other):
457 if isinstance(other, number_types):
458 return as_number(other) + self
459 return NotImplemented
460
461 def __sub__(self, other):
462 return self + (-other)

Callers

nothing calls this directly

Calls 1

as_numberFunction · 0.85

Tested by

no test coverage detected