summaryrefslogtreecommitdiffstats
path: root/Lib/compiler/syntax.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/compiler/syntax.py')
-rw-r--r--Lib/compiler/syntax.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Lib/compiler/syntax.py b/Lib/compiler/syntax.py
index 14613ef..88c1453 100644
--- a/Lib/compiler/syntax.py
+++ b/Lib/compiler/syntax.py
@@ -39,7 +39,8 @@ class SyntaxErrorChecker:
def visitAssign(self, node):
# the transformer module handles many of these
for target in node.nodes:
- if isinstance(target, ast.AssList):
- if target.lineno is None:
- target.lineno = node.lineno
- self.error(target, "can't assign to list comprehension")
+ pass
+## if isinstance(target, ast.AssList):
+## if target.lineno is None:
+## target.lineno = node.lineno
+## self.error(target, "can't assign to list comprehension")