Files
Micha Reiser 49597b86fe Remove unused source-based parentheses helper (#30614)
## 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.
2026-11-20 10:31:33 +00:00
..
2026-11-19 10:32:47 -05:00
2026-11-19 10:32:47 -05:00

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.