Commit ace79774 authored by Stefan Behnel's avatar Stefan Behnel

remove useless return in __init__()

parent dcbccc2d
...@@ -28,7 +28,7 @@ class MarkParallelAssignments(EnvTransform): ...@@ -28,7 +28,7 @@ class MarkParallelAssignments(EnvTransform):
def __init__(self, context): def __init__(self, context):
# Track the parallel block scopes (with parallel, for i in prange()) # Track the parallel block scopes (with parallel, for i in prange())
self.parallel_block_stack = [] self.parallel_block_stack = []
return super(MarkParallelAssignments, self).__init__(context) super(MarkParallelAssignments, self).__init__(context)
def mark_assignment(self, lhs, rhs, inplace_op=None): def mark_assignment(self, lhs, rhs, inplace_op=None):
if isinstance(lhs, (ExprNodes.NameNode, Nodes.PyArgDeclNode)): if isinstance(lhs, (ExprNodes.NameNode, Nodes.PyArgDeclNode)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment