mirror of
https://github.com/astral-sh/ruff.git
synced 2026-11-22 05:20:36 +08:00
## Summary Today, `ruff_python_ast` has two implementations of `parenthesized_range`, but only tests use the source-tokenizing one. This PR removes the unused implementation and moves the remaining distinct cases into the token-based implementation's tests. Testing: All AST integration tests pass, and retired instruction counts show no regression in Ruff.
ruff_python_ast
This crate is an internal component of Ruff. The Rust API exposed here is unstable and will have frequent breaking changes.
This version (0.0.23) is a component of Ruff 0.17.6. The source can be found here.
See Ruff's crate versioning policy for details on versioning.