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

Method to_pyobject

crates/vm/src/stdlib/os.rs:141–143  ·  view source on GitHub ↗
(self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

139
140impl ToPyObject for crt_fd::Owned {
141 fn to_pyobject(self, vm: &VirtualMachine) -> PyObjectRef {
142 self.into_raw().to_pyobject(vm)
143 }
144}
145
146impl ToPyObject for crt_fd::Borrowed<'_> {

Callers 15

create_format_partFunction · 0.45
getpwallFunction · 0.45
_stdlib_dirFunction · 0.45
stdlib_module_namesFunction · 0.45
_current_exceptionsFunction · 0.45
get_asyncgen_hooksFunction · 0.45
_abc_initFunction · 0.45
_get_dumpFunction · 0.45
strftime_crtFunction · 0.45
make_frozensetMethod · 0.45
regsMethod · 0.45

Calls 2

into_rawMethod · 0.45
as_rawMethod · 0.45

Tested by

no test coverage detected