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

Method is_supported

crates/ruff_python_parser/src/error.rs:1145–1147  ·  view source on GitHub ↗

Returns `true` if this kind of syntax is supported on `target_version`.

(self, target_version: PythonVersion)

Source from the content-addressed store, hash-verified

1143
1144 /// Returns `true` if this kind of syntax is supported on `target_version`.
1145 pub(crate) fn is_supported(self, target_version: PythonVersion) -> bool {
1146 !self.is_unsupported(target_version)
1147 }
1148}
1149
1150#[cfg(target_pointer_width = "64")]

Callers 1

check_tuple_unpackingMethod · 0.80

Calls 1

is_unsupportedMethod · 0.80

Tested by

no test coverage detected