Commit 9a4a41d3 authored by Vitja Makarov's avatar Vitja Makarov

Code.put_error_if_unbound: use putln instead of put

parent b1adce4a
......@@ -1453,7 +1453,7 @@ class CCodeWriter(object):
func = '__Pyx_RaiseUnboundLocalError'
self.globalstate.use_utility_code(
ExprNodes.raise_unbound_local_error_utility_code)
self.put('if (unlikely(!%s)) { %s("%s"); %s }' % (
self.putln('if (unlikely(!%s)) { %s("%s"); %s }' % (
entry.cname, func, entry.name, self.error_goto(pos)))
def set_error_info(self, pos):
......
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