Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ pos
Function
pos
crates/vm/src/stdlib/_operator.rs:129–131 ·
view source on GitHub ↗
(obj: PyObjectRef, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
127
128
#[pyfunction]
129
fn pos(obj: PyObjectRef, vm: &VirtualMachine) -> PyResult {
130
vm._pos(&obj)
131
}
132
133
#[pyfunction]
134
fn pow(a: PyObjectRef, b: PyObjectRef, vm: &VirtualMachine) -> PyResult {
Callers
nothing calls this directly
Calls
1
_pos
Method · 0.80
Tested by
no test coverage detected