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

Method __init__

mypyc/ir/ops.py:364–369  ·  view source on GitHub ↗
(self, dest: Register, src: list[Value], line: int = -1)

Source from the content-addressed store, hash-verified

362 error_kind = ERR_NEVER
363
364 def __init__(self, dest: Register, src: list[Value], line: int = -1) -> None:
365 super().__init__(dest, line)
366 assert src
367 assert isinstance(dest.type, RArray)
368 assert dest.type.length == len(src)
369 self.src = src
370
371 def sources(self) -> list[Value]:
372 return self.src.copy()

Callers

nothing calls this directly

Calls 3

isinstanceFunction · 0.85
lenFunction · 0.85
__init__Method · 0.45

Tested by

no test coverage detected