mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-24 12:24:17 +00:00
![]() ## Summary Given `with (a := b): pass`, we truncate the `WithItem` range by one on both sides such that the parentheses are part of the statement, rather than the item. However, for `with (a := b) as x: pass`, we want to avoid this trick. Closes https://github.com/astral-sh/ruff/issues/8913. |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |