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

Method build_function

crates/vm/src/function/method.rs:154–156  ·  view source on GitHub ↗
(&'static self, ctx: &Context)

Source from the content-addressed store, hash-verified

152 }
153
154 pub fn build_function(&'static self, ctx: &Context) -> PyRef<PyNativeFunction> {
155 self.to_function().into_ref(ctx)
156 }
157
158 pub fn build_bound_function(
159 &'static self,

Callers 2

newMethod · 0.45
new_functionMethod · 0.45

Calls 5

to_functionMethod · 0.80
SomeClass · 0.50
into_refMethod · 0.45
methodMethod · 0.45
to_ownedMethod · 0.45

Tested by

no test coverage detected