Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle sequence deletion

  • Loading branch information...
commit 8fad64b0557a7c77e86d130f28c7a8e0229c84b9 1 parent fa4bc97
@vitek authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Cython/Compiler/FlowControl.py
View
3  Cython/Compiler/FlowControl.py
@@ -535,10 +535,11 @@ def _delete_name_node(self, node):
self.flow.mark_deletion(node, entry)
def visit_DelStatNode(self, node):
- ## TODO: Handle del a, b, (c, d)
for arg in node.args:
if arg.is_name:
self._delete_name_node(arg)
+ elif arg.is_sequence_constructor:
+ self.visit_DelStatNode(arg)
else:
self.visit(arg)
return node
Please sign in to comment.
Something went wrong with that request. Please try again.