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

Method strerror

crates/vm/src/exceptions.rs:2129–2131  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2127
2128 #[pygetset]
2129 fn strerror(&self) -> Option<PyObjectRef> {
2130 self.strerror.to_owned()
2131 }
2132
2133 #[pygetset(setter, name = "strerror")]
2134 fn set_strerror(&self, value: Option<PyObjectRef>, vm: &VirtualMachine) {

Callers 8

__init__Method · 0.80
_execute_childMethod · 0.80
realpathFunction · 0.80
test_when_no_fileMethod · 0.80
test_strerrorMethod · 0.80
raiserMethod · 0.80
_strerrorFunction · 0.80
__init__Method · 0.80

Calls 1

to_ownedMethod · 0.45

Tested by 3

test_when_no_fileMethod · 0.64
test_strerrorMethod · 0.64
raiserMethod · 0.64