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

Method errors

crates/vm/src/stdlib/sys.rs:204–211  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

202
203 #[pygetset]
204 fn errors(&self) -> String {
205 if self.fd == 2 {
206 "backslashreplace"
207 } else {
208 "strict"
209 }
210 .to_owned()
211 }
212
213 #[pygetset(name = "name")]
214 fn name_prop(&self) -> String {

Callers 2

convert_openssl_errorFunction · 0.45
nextMethod · 0.45

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected