MCPcopy Index your code
hub / github.com/python/mypy / binary_op

Method binary_op

mypyc/irbuild/builder.py:378–379  ·  view source on GitHub ↗
(self, lreg: Value, rreg: Value, expr_op: str, line: int)

Source from the content-addressed store, hash-verified

376 return self.builder.unary_op(lreg, expr_op, line)
377
378 def binary_op(self, lreg: Value, rreg: Value, expr_op: str, line: int) -> Value:
379 return self.builder.binary_op(lreg, rreg, expr_op, line)
380
381 def coerce(self, src: Value, target_type: RType, line: int, force: bool = False) -> Value:
382 return self.builder.coerce(src, target_type, line, force, can_borrow=self.can_borrow)

Callers 15

gen_conditionMethod · 0.45
gen_conditionMethod · 0.45
gen_stepMethod · 0.45
vec_containsFunction · 0.45
faster_min_maxFunction · 0.45
gen_inner_stmtsFunction · 0.45
visit_value_patternMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected