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

Method as_object

crates/vm/src/object/ext.rs:552–554  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

550{
551 #[inline(always)]
552 fn as_object(&self) -> &PyObject {
553 self.borrow()
554 }
555
556 #[inline(always)]
557 fn get_id(&self) -> usize {

Callers 2

get_idMethod · 0.45
classMethod · 0.45

Implementers 1

ext.rscrates/vm/src/object/ext.rs

Calls 1

borrowMethod · 0.45

Tested by

no test coverage detected