MCPcopy 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
201fn 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_argsFunction · 0.70

Calls 1

exitFunction · 0.50

Tested by

no test coverage detected