Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astral-sh/ruff
/ python_version
Method
python_version
crates/ty_python_semantic/src/db.rs:135–137 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
133
}
134
135
fn python_version(&self) -> PythonVersion {
136
Program::get(self).python_version(self)
137
}
138
}
139
140
#[salsa::db]
Callers
15
member_lookup_with_policy_impl
Method · 0.45
bindings
Method · 0.45
module_type_implicit_global_symbol
Function · 0.45
class_body_implicit_symbol
Function · 0.45
map_stub_definition
Function · 0.45
hint_if_stdlib_submodule_exists_on_other_versions
Function · 0.45
version_info_spec
Method · 0.45
defer_annotations
Method · 0.45
report_unresolved_reference
Method · 0.45
infer_enum_call_expression
Method · 0.45
infer_type_expression_no_store
Method · 0.45
infer_legacy_typevartuple
Method · 0.45
Calls
no outgoing calls
Tested by
1
known_class_doesnt_fallback_to_unknown_unexpectedly_on_low_python_version
Function · 0.36