From 3f305e439fdcc21c9f5536402898b5892c0ee1be Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Wed, 9 Dec 2009 16:43:31 +0100 Subject: [PATCH] comment --- Cython/Compiler/Optimize.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index c6500bbe..8c97b074 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -616,6 +616,9 @@ class DropRefcountingTransform(Visitor.VisitorTransform): visit_Node = Visitor.VisitorTransform.recurse_to_children def visit_ParallelAssignmentNode(self, node): + """ + Parallel swap assignments like 'a,b = b,a' are safe. + """ left_names, right_names = [], [] left_indices, right_indices = [], [] temps = [] -- 2.26.2