mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-03 16:43:01 +08:00
A comparison was slightly off
This commit is contained in:
@@ -746,7 +746,7 @@ class _NonlocalModuleLevelRule(SyntaxRule):
|
||||
class _ArglistRule(SyntaxRule):
|
||||
@property
|
||||
def message(self):
|
||||
if self._normalizer.version < (3, 6):
|
||||
if self._normalizer.version < (3, 7):
|
||||
return "Generator expression must be parenthesized if not sole argument"
|
||||
else:
|
||||
return "Generator expression must be parenthesized"
|
||||
|
||||
Reference in New Issue
Block a user