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

Method class

crates/vm/src/builtins/complex.rs:39–41  ·  view source on GitHub ↗
(ctx: &Context)

Source from the content-addressed store, hash-verified

37
38 #[inline]
39 fn class(ctx: &Context) -> &'static Py<PyType> {
40 ctx.types.complex_type
41 }
42
43 #[inline]
44 unsafe fn freelist_push(obj: *mut PyObject) -> bool {

Callers 4

try_complexMethod · 0.45
slot_newMethod · 0.45
py_newMethod · 0.45
from_numberMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected