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

Method mark_as_initializer

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

Source from the content-addressed store, hash-verified

937 self.is_propset = is_propset
938
939 def mark_as_initializer(self) -> None:
940 self.is_init = True
941 self.error_kind = ERR_NEVER
942 self.type = void_rtype
943
944 def sources(self) -> list[Value]:
945 return [self.obj, self.src]

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected