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

Method get_optional_kwarg

crates/vm/src/function/argument.rs:221–223  ·  view source on GitHub ↗
(&self, key: &str)

Source from the content-addressed store, hash-verified

219 }
220
221 pub fn get_optional_kwarg(&self, key: &str) -> Option<PyObjectRef> {
222 self.kwargs.get(key).cloned()
223 }
224
225 pub fn get_optional_kwarg_with_type(
226 &self,

Callers 2

formatFunction · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected