MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / call_operator

Function call_operator

src/py_class/py_class_impl.py:738–743  ·  view source on GitHub ↗
(special_name, slot)

Source from the content-addressed store, hash-verified

736
737@special_method
738def call_operator(special_name, slot):
739 generate_instance_method(
740 special_name=special_name,
741 slot=slot,
742 value_macro='py_class_call_slot',
743 value_args='$class::%s' % special_name)
744
745@special_method
746def numeric_operator(special_name, arity, slot):

Callers 1

py_class_impl.pyFile · 0.85

Calls 1

generate_instance_methodFunction · 0.85

Tested by

no test coverage detected