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

Function reflected_numeric_operator

src/py_class/py_class_impl.py:765–767  ·  view source on GitHub ↗
(special_name)

Source from the content-addressed store, hash-verified

763
764@special_method
765def reflected_numeric_operator(special_name):
766 error('Reflected numeric operator %s is not supported by py_class! Use __%s__ instead!'
767 % (special_name, special_name[3:-2]))(special_name)
768
769@special_method
770def inplace_numeric_operator(special_name, slot):

Callers 1

py_class_impl.pyFile · 0.85

Calls 1

errorFunction · 0.85

Tested by

no test coverage detected