MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Tools/clinic/libclinic/converter.py:54–59  ·  view source on GitHub ↗
(
        cls, name: str, bases: tuple[type[object], ...], classdict: dict[str, Any]
    )

Source from the content-addressed store, hash-verified

52
53class CConverterAutoRegister(type):
54 def __init__(
55 cls, name: str, bases: tuple[type[object], ...], classdict: dict[str, Any]
56 ) -> None:
57 converter_cls = cast(type["CConverter"], cls)
58 add_c_converter(converter_cls)
59 add_default_legacy_c_converter(converter_cls)
60
61class CConverter(metaclass=CConverterAutoRegister):
62 """

Callers

nothing calls this directly

Calls 3

castFunction · 0.90
add_c_converterFunction · 0.85

Tested by

no test coverage detected