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

Method getblocking

crates/stdlib/src/socket.rs:2221–2223  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

2219
2220 #[pymethod]
2221 fn getblocking(&self) -> bool {
2222 self.timeout.load() != 0.0
2223 }
2224
2225 #[pymethod]
2226 fn settimeout(&self, timeout: Option<ArgIntoFloat>, vm: &VirtualMachine) -> PyResult<()> {

Callers 3

_createMethod · 0.80
assert_sock_timeoutMethod · 0.80
checkNonblockMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by 2

assert_sock_timeoutMethod · 0.64
checkNonblockMethod · 0.64