MCPcopy Index your code
hub / github.com/RustPython/RustPython / class

Method class

crates/vm/src/builtins/builtin_func.rs:24–26  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

22
23impl PyPayload for PyNativeFunction {
24 fn class(ctx: &Context) -> &'static Py<PyType> {
25 ctx.types.builtin_function_or_method_type
26 }
27}
28
29impl fmt::Debug for PyNativeFunction {

Callers 2

repr_strMethod · 0.45
__qualname__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected