Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ MethodType
Function
MethodType
crates/vm/src/stdlib/_types.rs:114–116 ·
view source on GitHub ↗
(vm: &VirtualMachine)
Source
from the content-addressed store, hash-verified
112
113
#[pyattr]
114
fn MethodType(vm: &VirtualMachine) -> PyObjectRef {
115
vm.ctx.types.bound_method_type.to_owned().into()
116
}
117
118
#[pyattr]
119
fn MethodWrapperType(vm: &VirtualMachine) -> PyObjectRef {
Callers
8
__get__
Method · 0.90
_create_exit_wrapper
Method · 0.90
_create_async_exit_wrapper
Method · 0.90
test_vectorcall
Method · 0.90
test_no_path
Method · 0.90
test_with_path
Method · 0.90
create_mock
Method · 0.90
as_method_of
Method · 0.90
Calls
1
to_owned
Method · 0.45
Tested by
4
test_vectorcall
Method · 0.72
test_no_path
Method · 0.72
test_with_path
Method · 0.72
create_mock
Method · 0.72