Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ locals
Function
locals
crates/vm/src/stdlib/builtins.rs:819–821 ·
view source on GitHub ↗
(vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
817
818
#[pyfunction]
819
fn locals(vm: &VirtualMachine) -> PyResult<ArgMapping> {
820
vm.current_locals()
821
}
822
823
fn min_or_max(
824
mut args: FuncArgs,
Callers
15
docmodule
Method · 0.85
_normalize_module
Function · 0.85
__main__.py
File · 0.85
test_timeit_globals_args
Method · 0.85
f
Method · 0.85
test_get_builtin_constructor
Method · 0.85
test_stock_annotations
Method · 0.85
test_forward_equality_get_type_hints
Method · 0.85
test_forward_equality_hash
Method · 0.85
namespace1
Method · 0.85
namespace2
Method · 0.85
test_fwdref_evaluate_argument_mutation
Method · 0.85
Calls
1
current_locals
Method · 0.80
Tested by
15
_normalize_module
Function · 0.68
test_timeit_globals_args
Method · 0.68
f
Method · 0.68
test_get_builtin_constructor
Method · 0.68
test_stock_annotations
Method · 0.68
test_forward_equality_get_type_hints
Method · 0.68
test_forward_equality_hash
Method · 0.68
namespace1
Method · 0.68
namespace2
Method · 0.68
test_fwdref_evaluate_argument_mutation
Method · 0.68
g
Method · 0.68
test_2
Method · 0.68