Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ version
Function
version
src/settings.rs:201–204 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
199
}
200
201
fn version() -> ! {
202
println!(
"Python {}"
, rustpython_vm::version::get_version());
203
std::process::exit(0);
204
}
205
206
/// Create settings by examining command line arguments and environment
207
/// variables.
Callers
1
parse_args
Function · 0.70
Calls
1
exit
Function · 0.50
Tested by
no test coverage detected