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

Method int_to_float

mypyc/irbuild/ll_builder.py:2738–2739  ·  view source on GitHub ↗
(self, n: Value, line: int)

Source from the content-addressed store, hash-verified

2736 return self.call_c(new_tuple_with_length_op, [length], line)
2737
2738 def int_to_float(self, n: Value, line: int) -> Value:
2739 return self.primitive_op(int_to_float_op, [n], line)
2740
2741 def set_immortal_if_free_threaded(self, v: Value, line: int) -> None:
2742 """Make an object immortal on free-threaded builds (to avoid contention)."""

Callers 2

coerceMethod · 0.95
binary_opMethod · 0.95

Calls 1

primitive_opMethod · 0.95

Tested by

no test coverage detected