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

Method try_into_value

crates/vm/src/convert/try_from.rs:26–31  ·  view source on GitHub ↗
(self, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

24
25impl PyObjectRef {
26 pub fn try_into_value<T>(self, vm: &VirtualMachine) -> PyResult<T>
27 where
28 T: TryFromObject,
29 {
30 T::try_from_object(vm, self)
31 }
32}
33
34impl PyObject {

Callers 15

get_importerFunction · 0.80
py_mainFunction · 0.80
tcsetattrFunction · 0.80
syslogFunction · 0.80
sendmsgMethod · 0.80
try_from_objectMethod · 0.80
write_inputFunction · 0.80
py_newMethod · 0.80
parse_addressFunction · 0.80
call_scan_onceMethod · 0.80
py_decode_errorFunction · 0.80
pbkdf2_hmacFunction · 0.80

Calls

no outgoing calls

Tested by 3

write_inputFunction · 0.64
test_mode_via_statMethod · 0.64
frozen_origname_matchesFunction · 0.64