Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ id
Function
id
crates/vm/src/stdlib/builtins.rs:681–683 ·
view source on GitHub ↗
(obj: PyObjectRef)
Source
from the content-addressed store, hash-verified
679
680
#[pyfunction]
681
fn id(obj: PyObjectRef) -> usize {
682
obj.get_id()
683
}
684
685
#[pyfunction]
686
fn input(prompt: OptionalArg<PyStrRef>, vm: &VirtualMachine) -> PyResult {
Callers
15
unwrap
Function · 0.85
wrapper
Function · 0.85
repr_int
Method · 0.85
repr_instance
Method · 0.85
_flatten
Method · 0.85
_getrefnum
Method · 0.85
__repr__
Method · 0.85
__repr__
Method · 0.85
__repr__
Method · 0.85
__repr__
Method · 0.85
__repr__
Method · 0.85
__init__
Method · 0.85
Calls
1
get_id
Method · 0.45
Tested by
15
__lt__
Method · 0.68
_find
Method · 0.68
test_deepcopy_keepalive
Method · 0.68
test_legacy_finalizer
Method · 0.68
test_legacy_finalizer_newclass
Method · 0.68
test_saveall
Method · 0.68
test_resurrection_is_transitive
Method · 0.68
test_zombie_fast_process_del
Method · 0.68
test_leak_fast_process_del_killed
Method · 0.68
__hash__
Method · 0.68
test_constructor_identity
Method · 0.68
test_copy
Method · 0.68