Utilities/py3flakes/checker.py

changeset 125
064cfadcf15c
parent 88
3701923bccf2
child 421
c32c27fd0794
--- a/Utilities/py3flakes/checker.py	Sat Feb 27 11:33:46 2010 +0000
+++ b/Utilities/py3flakes/checker.py	Sun Feb 28 09:06:59 2010 +0000
@@ -507,7 +507,7 @@
             return
         
         # if the name hasn't already been defined in the current scope
-        if isinstance(node, ast.Tuple):
+        if isinstance(node, (ast.Tuple, ast.List)):
             for elt in node.elts:
                 elt.parent = node
                 self.handleAssignName(elt)

eric ide

mercurial