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

Method emit_base_tp_function_call

mypyc/codegen/emit.py:1444–1448  ·  view source on GitHub ↗
(
        self, derived_cl: ClassIR, tp_func: str, args: str, *, prefix: str = ""
    )

Source from the content-addressed store, hash-verified

1442 return wrapper_name
1443
1444 def emit_base_tp_function_call(
1445 self, derived_cl: ClassIR, tp_func: str, args: str, *, prefix: str = ""
1446 ) -> None:
1447 type_obj = self.type_struct_name(derived_cl)
1448 self.emit_line(f"{prefix}{type_obj}->tp_base->{tp_func}({args});")
1449
1450
1451def c_array_initializer(components: list[str], *, indented: bool = False) -> str:

Callers 3

generate_clear_for_classFunction · 0.80

Calls 2

type_struct_nameMethod · 0.95
emit_lineMethod · 0.95

Tested by

no test coverage detected