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

Method to_pyobject

crates/stdlib/src/resource.rs:150–152  ·  view source on GitHub ↗
(self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

148 }
149 impl ToPyObject for Limits {
150 fn to_pyobject(self, vm: &VirtualMachine) -> PyObjectRef {
151 (self.0.rlim_cur, self.0.rlim_max).to_pyobject(vm)
152 }
153 }
154
155 #[pyfunction]

Callers 14

get_ip_addr_tupleFunction · 0.45
get_addr_tupleFunction · 0.45
if_nameindexFunction · 0.45
pollMethod · 0.45
from_unistd_groupMethod · 0.45
getgrallFunction · 0.45
groupMethod · 0.45
groupsMethod · 0.45
to_pyresultMethod · 0.45
__reduce__Method · 0.45
_get_proxy_settingsFunction · 0.45
set_from_windows_errFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected