MCPcopy Create free account
hub / github.com/astral-sh/ruff / as_tuple

Method as_tuple

crates/ruff_python_ast/src/python_version.rs:79–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 }
78
79 pub const fn as_tuple(self) -> (u8, u8) {
80 (self.major, self.minor)
81 }
82
83 pub fn free_threaded_build_available(self) -> bool {
84 self >= PythonVersion::PY313

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected