Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ close
Function
close
crates/vm/src/stdlib/os.rs:215–217 ·
view source on GitHub ↗
(fileno: crt_fd::Owned)
Source
from the content-addressed store, hash-verified
213
214
#[pyfunction]
215
fn close(fileno: crt_fd::Owned) -> io::Result<()> {
216
crt_fd::close(fileno)
217
}
218
219
#[pyfunction]
220
fn closerange(fd_low: i32, fd_high: i32) {
Callers
5
spawn
Function · 0.90
close
Method · 0.70
internal_close
Function · 0.70
listdir
Function · 0.70
scandir
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected