Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ flush
Method
flush
crates/vm/src/stdlib/sys.rs:95–98 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
93
94
#[pymethod]
95
fn flush(&self) -> PyResult<()> {
96
let _ = std::io::stderr().flush();
97
Ok(())
98
}
99
}
100
101
/// Lightweight stdio wrapper for sandbox mode (no host_env).
Callers
1
readline
Method · 0.45
Calls
2
new_os_error
Method · 0.80
to_string
Method · 0.80
Tested by
no test coverage detected