Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ default
Method
default
crates/ruff_python_ast/src/python_version.rs:100–102 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
98
99
impl Default for PythonVersion {
100
fn default() -> Self {
101
Self::PY311
102
}
103
}
104
105
impl From<(u8, u8)> for PythonVersion {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected