Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ len
Function
len
crates/vm/src/stdlib/builtins.rs:814–816 ·
view source on GitHub ↗
(obj: PyObjectRef, vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
812
813
#[pyfunction]
814
fn len(obj: PyObjectRef, vm: &VirtualMachine) -> PyResult<usize> {
815
obj.length(vm)
816
}
817
818
#[pyfunction]
819
fn locals(vm: &VirtualMachine) -> PyResult<ArgMapping> {
Callers
15
fetch_handler
Function · 0.85
pystone.py
File · 0.85
read
Method · 0.85
readline
Method · 0.85
_append_untagged
Method · 0.85
_command
Method · 0.85
print_log
Method · 0.85
__exit__
Method · 0.85
encode
Method · 0.85
_partial_prepare_merger
Function · 0.85
_partial_new
Function · 0.85
__call__
Method · 0.85
Calls
1
length
Method · 0.45
Tested by
15
register_optionflag
Function · 0.68
_ellipsis_match
Function · 0.68
_strip_exception_details
Function · 0.68
_module_relative_path
Function · 0.68
__repr__
Method · 0.68
parse
Method · 0.68
_parse_example
Method · 0.68
_min_indent
Method · 0.68
_check_prompt_blank
Method · 0.68
_find_lineno
Method · 0.68
_n_items
Function · 0.68
DocTestSuite
Function · 0.68