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

Method to_pyobject

crates/vm/src/protocol/iter.rs:118–120  ·  view source on GitHub ↗
(self, _vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

116impl ToPyObject for PyIter<PyObjectRef> {
117 #[inline(always)]
118 fn to_pyobject(self, _vm: &VirtualMachine) -> PyObjectRef {
119 self.into()
120 }
121}
122
123impl TryFromObject for PyIter<PyObjectRef> {

Callers 8

rich_compareMethod · 0.45
get_itemMethod · 0.45
set_itemMethod · 0.45
del_itemMethod · 0.45
repeatMethod · 0.45
inplace_repeatMethod · 0.45
get_sliceMethod · 0.45
_ass_sliceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected