Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ shift
Method
shift
crates/vm/src/function/argument.rs:210–212 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
208
}
209
210
pub fn shift(&mut self) -> PyObjectRef {
211
self.args.remove(0)
212
}
213
214
pub fn get_kwarg(&self, key: &str, default: PyObjectRef) -> PyObjectRef {
215
self.kwargs
Callers
nothing calls this directly
Calls
1
remove
Method · 0.45
Tested by
no test coverage detected