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

Class NonExtClassInfo

mypyc/ir/class_ir.py:500–511  ·  view source on GitHub ↗

Information needed to construct a non-extension class (Python class). Includes the class dictionary, a tuple of base classes, the class annotations dictionary, and the metaclass.

Source from the content-addressed store, hash-verified

498
499
500class NonExtClassInfo:
501 """Information needed to construct a non-extension class (Python class).
502
503 Includes the class dictionary, a tuple of base classes,
504 the class annotations dictionary, and the metaclass.
505 """
506
507 def __init__(self, dict: Value, bases: Value, anns: Value, metaclass: Value) -> None:
508 self.dict = dict
509 self.bases = bases
510 self.anns = anns
511 self.metaclass = metaclass
512
513
514def serialize_vtable_entry(entry: VTableMethod) -> JsonDict:

Callers 2

create_non_ext_infoMethod · 0.90
create_non_ext_infoMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…