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

Function timeout

crates/stdlib/src/socket.rs:844–846  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

842
843 #[pyattr]
844 fn timeout(vm: &VirtualMachine) -> PyTypeRef {
845 vm.ctx.exceptions.timeout_error.to_owned()
846 }
847
848 #[pyattr(once)]
849 fn herror(vm: &VirtualMachine) -> PyTypeRef {

Callers 1

timeout_error_msgFunction · 0.70

Calls 1

to_ownedMethod · 0.45

Tested by

no test coverage detected