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

Method function

crates/vm/src/ospath.rs:32–35  ·  view source on GitHub ↗
(mut self, name: &'static str)

Source from the content-addressed store, hash-verified

30 }
31
32 pub const fn function(mut self, name: &'static str) -> Self {
33 self.function_name = Some(name);
34 self
35 }
36
37 pub const fn argument(mut self, name: &'static str) -> Self {
38 self.argument_name = Some(name);

Callers 1

renameFunction · 0.45

Calls 1

SomeClass · 0.50

Tested by

no test coverage detected