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

Method is_empty

crates/vm/src/function/argument.rs:201–203  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

199 }
200
201 pub fn is_empty(&self) -> bool {
202 self.args.is_empty() && self.kwargs.is_empty()
203 }
204
205 pub fn prepend_arg(&mut self, item: PyObjectRef) {
206 self.args.reserve_exact(1);

Callers 2

take_positionalMethod · 0.45
bindMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected