readability fix
authorStefan Behnel <scoder@users.berlios.de>
Sat, 6 Mar 2010 14:41:30 +0000 (15:41 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 6 Mar 2010 14:41:30 +0000 (15:41 +0100)
Cython/Compiler/ParseTreeTransforms.py

index 30939f5893d1d6702e95be1ad55b8c17f7bb8fe1..678260cae092a8489592f9dc30983dd496310a4e 100644 (file)
@@ -402,7 +402,7 @@ def flatten_parallel_assignments(input, output):
                   % (rhs_size, (rhs_size != 1) and 's' or ''))
             output.append([lhs,rhs])
             continue
-        elif starred_targets == 1:
+        elif starred_targets:
             map_starred_assignment(lhs_targets, starred_assignments,
                                    lhs.args, rhs.args)
         elif lhs_size < rhs_size: