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

Method __truediv__

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

Source from the content-addressed store, hash-verified

535 return NotImplemented
536
537 def __truediv__(self, other):
538 other = as_expr(other)
539 if isinstance(other, Expr):
540 # Fortran / is different from Python /:
541 # - `/` is a truncate operation for integer operands
542 return normalize(as_apply(ArithOp.DIV, self, other))
543 return NotImplemented
544
545 def __rtruediv__(self, other):
546 other = as_expr(other)

Callers

nothing calls this directly

Calls 3

as_exprFunction · 0.85
normalizeFunction · 0.85
as_applyFunction · 0.85

Tested by

no test coverage detected