From: Neal Norwitz Date: Fri, 25 Nov 2005 03:18:58 +0000 (+0000) Subject: Stop looping to do nothing, just pass. X-Git-Tag: v2.5a0~1103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ef260c080336265fd6a08b13500a526758ebe389;p=python Stop looping to do nothing, just pass. --- diff --git a/Lib/compiler/syntax.py b/Lib/compiler/syntax.py index 88c1453a1f..a45d9c2cf6 100644 --- a/Lib/compiler/syntax.py +++ b/Lib/compiler/syntax.py @@ -38,8 +38,8 @@ class SyntaxErrorChecker: def visitAssign(self, node): # the transformer module handles many of these - for target in node.nodes: - pass + pass +## for target in node.nodes: ## if isinstance(target, ast.AssList): ## if target.lineno is None: ## target.lineno = node.lineno