Commit d1465de3 authored by Mark Florisson's avatar Mark Florisson

Pass arguments to __Pyx_AddTraceback

parent 2abf38d0
......@@ -3090,7 +3090,7 @@ class GeneratorBodyDefNode(DefNode):
code.put_label(code.error_label)
for cname, type in code.funcstate.all_managed_temps():
code.put_xdecref(cname, type)
code.putln('__Pyx_AddTraceback("%s");' % self.entry.qualified_name)
code.put_add_traceback(self.entry.qualified_name)
# ----- Non-error return cleanup
code.put_label(code.return_label)
......
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