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

Function native_slot

mypyc/codegen/emitclass.py:50–51  ·  view source on GitHub ↗
(cl: ClassIR, fn: FuncIR, emitter: Emitter)

Source from the content-addressed store, hash-verified

48
49
50def native_slot(cl: ClassIR, fn: FuncIR, emitter: Emitter) -> str:
51 return f"{NATIVE_PREFIX}{fn.cname(emitter.names)}"
52
53
54def dunder_attr_slot(cl: ClassIR, fn: FuncIR, emitter: Emitter) -> str:

Callers

nothing calls this directly

Calls 1

cnameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…