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

Method method_index

mypyc/ir/rtypes.py:997–998  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

995 return self.getter_index(name) + 1
996
997 def method_index(self, name: str) -> int:
998 return self.class_ir.vtable_entry(name)
999
1000 def attr_type(self, name: str) -> RType:
1001 return self.class_ir.attr_type(name)

Callers 1

emit_method_callMethod · 0.80

Calls 1

vtable_entryMethod · 0.80

Tested by

no test coverage detected