MCPcopy Create free account
hub / github.com/python/mypy / bool_comparison_op

Method bool_comparison_op

mypyc/irbuild/ll_builder.py:1863–1865  ·  view source on GitHub ↗
(self, lreg: Value, rreg: Value, op: str, line: int)

Source from the content-addressed store, hash-verified

1861 return self.add(IntOp(bool_rprimitive, lreg, rreg, code, line))
1862
1863 def bool_comparison_op(self, lreg: Value, rreg: Value, op: str, line: int) -> Value:
1864 op_id = ComparisonOp.signed_ops[op]
1865 return self.comparison_op(lreg, rreg, op_id, line)
1866
1867 def _non_specialized_unary_op(self, value: Value, op: str, line: int) -> Value:
1868 if isinstance(value.type, RInstance):

Callers 1

binary_opMethod · 0.95

Calls 1

comparison_opMethod · 0.95

Tested by

no test coverage detected