MCPcopy Index your code
hub / github.com/RustPython/RustPython / class

Method class

crates/vm/src/builtins/type.rs:432–434  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

430impl PyPayload for PyType {
431 #[inline]
432 fn class(ctx: &Context) -> &'static Py<PyType> {
433 ctx.types.type_type
434 }
435}
436
437fn downcast_qualname(value: PyObjectRef, vm: &VirtualMachine) -> PyResult<PyRef<PyStr>> {

Callers 9

__annotations__Method · 0.45
slot_newMethod · 0.45
getattroMethod · 0.45
__doc__Method · 0.45
setattroMethod · 0.45
callMethod · 0.45
subtype_get_dictFunction · 0.45
subtype_set_dictFunction · 0.45
calculate_meta_classFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected