Commits

Ian Cordasco committed 779f12c

Fixes #20.

Comments (0)

Files changed (1)

flake8/pyflakes.py

         if node.name is not None:
             if isinstance(node.name, str):
                 name = node.name
+            elif hasattr(node.name, 'elts'):
+                names = [e.id for e in node.name.elts]
+                name = '({0})'.format(', '.join(names))
             else:
                 name = node.name.id
             self.addBinding(node.lineno, Assignment(name, node))