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

Method __radd__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

as_numberFunction · 0.85

Tested by

no test coverage detected