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

Method class

crates/vm/src/builtins/object.rs:26–28  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

24impl PyPayload for PyBaseObject {
25 #[inline]
26 fn class(ctx: &Context) -> &'static Py<PyType> {
27 ctx.types.object_type
28 }
29}
30
31impl Constructor for PyBaseObject {

Callers 10

slot_initMethod · 0.45
object_getstate_defaultFunction · 0.45
cmpMethod · 0.45
slot_reprMethod · 0.45
__class__Method · 0.45
set___class__Method · 0.45
__reduce_ex__Method · 0.45
__sizeof__Method · 0.45
is_getstate_overriddenFunction · 0.45
reduce_newobjFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected