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

Function vec_to_tuple

mypyc/irbuild/vec.py:603–604  ·  view source on GitHub ↗
(builder: LowLevelIRBuilder, vec: Value, line: int)

Source from the content-addressed store, hash-verified

601
602
603def vec_to_tuple(builder: LowLevelIRBuilder, vec: Value, line: int) -> Value | None:
604 return _vec_to_sequence(builder, vec, line, "to_tuple", tuple_rprimitive)
605
606
607def supports_vec_to_sequence(vec_type: RVec) -> bool:

Callers 1

translate_vec_to_tupleFunction · 0.90

Calls 1

_vec_to_sequenceFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…