Commit ef4bbc54 authored by gsamain's avatar gsamain Committed by Xavier Thompson

For in statement refcount fix

parent c6c5e9fd
......@@ -3026,6 +3026,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