mirror of
https://github.com/astral-sh/ruff.git
synced 2026-12-04 01:55:39 +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.