Commit 5c08258b authored by gsamain's avatar gsamain

For in statement refcount fix

parent 6f81c2ba
......@@ -2927,6 +2927,8 @@ class NextNode(AtomicExprNode):
def generate_result_code(self, code):
self.iterator.generate_iter_next_result_code(self.result(), code)
if self.type.is_cyp_class:
code.put_cyincref(self.result())
class AsyncIteratorNode(ExprNode):
......
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