mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 05:14:29 +08:00
Comprehensions are not valid as class params, fixes #122
This commit is contained in:
@@ -76,6 +76,7 @@ FAILING_EXAMPLES = [
|
||||
'(yield) += 1',
|
||||
'(yield from x) += 1',
|
||||
'(x if x else y) += 1',
|
||||
'class X(base for base in bases): pass',
|
||||
'a() += 1',
|
||||
'a + b += 1',
|
||||
'+a += 1',
|
||||
|
||||
Reference in New Issue
Block a user