Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Handle sequence deletion

  • Loading branch information...
commit 8fad64b0557a7c77e86d130f28c7a8e0229c84b9 1 parent fa4bc97
Vitja Makarov authored March 09, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  Cython/Compiler/FlowControl.py
3  Cython/Compiler/FlowControl.py
@@ -535,10 +535,11 @@ def _delete_name_node(self, node):
535 535
         self.flow.mark_deletion(node, entry)
536 536
 
537 537
     def visit_DelStatNode(self, node):
538  
-        ## TODO: Handle del a, b, (c, d)
539 538
         for arg in node.args:
540 539
             if arg.is_name:
541 540
                 self._delete_name_node(arg)
  541
+            elif arg.is_sequence_constructor:
  542
+                self.visit_DelStatNode(arg)
542 543
             else:
543 544
                 self.visit(arg)
544 545
         return node

0 notes on commit 8fad64b

Please sign in to comment.
Something went wrong with that request. Please try again.