mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-15 16:10:17 +00:00
Remove BindingKind::ComprehensionVar
(#12347)
## Summary This doesn't seem to be used anywhere. Maybe it mattered when we didn't handle generator scopes properly?
This commit is contained in:
parent
d0c5925672
commit
30cef67b45
5 changed files with 0 additions and 21 deletions
|
@ -467,12 +467,6 @@ pub enum BindingKind<'a> {
|
|||
/// ```
|
||||
LoopVar,
|
||||
|
||||
/// A binding for a comprehension variable, like `x` in:
|
||||
/// ```python
|
||||
/// [x for x in range(10)]
|
||||
/// ```
|
||||
ComprehensionVar,
|
||||
|
||||
/// A binding for a with statement variable, like `x` in:
|
||||
/// ```python
|
||||
/// with open('foo.py') as x:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue