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

Method visit_float_op

mypyc/analysis/ircheck.py:465–467  ·  view source on GitHub ↗
(self, op: FloatOp)

Source from the content-addressed store, hash-verified

463 self.fail(op, f"Operand types have incompatible signs: {left}, {right}")
464
465 def visit_float_op(self, op: FloatOp) -> None:
466 self.expect_float(op, op.lhs)
467 self.expect_float(op, op.rhs)
468
469 def visit_float_neg(self, op: FloatNeg) -> None:
470 self.expect_float(op, op.src)

Callers

nothing calls this directly

Calls 1

expect_floatMethod · 0.95

Tested by

no test coverage detected