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

Function supports_vec_to_sequence

mypyc/irbuild/vec.py:607–608  ·  view source on GitHub ↗
(vec_type: RVec)

Source from the content-addressed store, hash-verified

605
606
607def supports_vec_to_sequence(vec_type: RVec) -> bool:
608 return vec_api_by_item_type.get(vec_type.item_type) is not None or vec_type.depth() == 0
609
610
611def _vec_to_sequence(

Callers 3

translate_vec_to_listFunction · 0.90
translate_vec_to_tupleFunction · 0.90
_vec_to_sequenceFunction · 0.85

Calls 2

depthMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…