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

Function error

src/py_class/py_class_impl.py:643–647  ·  view source on GitHub ↗
(special_name, msg)

Source from the content-addressed store, hash-verified

641
642@special_method
643def error(special_name, msg):
644 print('''
645 { { def %s $($tail:tt)* } $( $stuff:tt )* } => {
646 $crate::py_error! { "%s" }
647 };''' % (special_name, msg))
648
649@special_method
650def unimplemented(special_name):

Callers 5

unimplementedFunction · 0.85
operatorFunction · 0.85
numeric_operatorFunction · 0.85
py_class_impl.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected