Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_positional
Method · 0.45
bind
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected