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

Method unique_sources

mypyc/ir/ops.py:305–310  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

303 return []
304
305 def unique_sources(self) -> list[Value]:
306 result: list[Value] = []
307 for reg in self.sources():
308 if reg not in result:
309 result.append(reg)
310 return result
311
312 @abstractmethod
313 def accept(self, visitor: OpVisitor[T]) -> T:

Callers 15

gen_glue_propertyFunction · 0.90
load_outer_envFunction · 0.90
readMethod · 0.90
read_nullable_attrMethod · 0.90
get_defaultFunction · 0.90
get_func_wrapperFunction · 0.90
get_attrMethod · 0.90
gen_method_callMethod · 0.90
test_get_attrMethod · 0.90
test_get_attr_mergedMethod · 0.90

Calls 2

sourcesMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected