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

Method __floordiv__

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

Source from the content-addressed store, hash-verified

550 return NotImplemented
551
552 def __floordiv__(self, other):
553 other = as_expr(other)
554 if isinstance(other, Expr):
555 # Fortran // is different from Python //:
556 # - `//` is a concatenate operation for string operands
557 return normalize(Expr(Op.CONCAT, (self, other)))
558 return NotImplemented
559
560 def __rfloordiv__(self, other):
561 other = as_expr(other)

Callers

nothing calls this directly

Calls 3

as_exprFunction · 0.85
normalizeFunction · 0.85
ExprClass · 0.85

Tested by

no test coverage detected