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

Method __init__

mypyc/irbuild/classdef.py:365–367  ·  view source on GitHub ↗
(self, builder: IRBuilder, cdef: ClassDef)

Source from the content-addressed store, hash-verified

363 add_annotations_to_dict = True
364
365 def __init__(self, builder: IRBuilder, cdef: ClassDef) -> None:
366 super().__init__(builder, cdef)
367 self.non_ext = self.create_non_ext_info()
368
369 def create_non_ext_info(self) -> NonExtClassInfo:
370 """Set up a NonExtClassInfo to track dataclass attributes.

Callers

nothing calls this directly

Calls 2

create_non_ext_infoMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected