Commit 863b50c3 authored by Stefan Behnel's avatar Stefan Behnel

remove useless semicolons from Python code

parent 75340b03
...@@ -1841,8 +1841,8 @@ class FuncDefNode(StatNode, BlockNode): ...@@ -1841,8 +1841,8 @@ class FuncDefNode(StatNode, BlockNode):
# Scope unconditionally DECREFed on return. # Scope unconditionally DECREFed on return.
code.putln("%s = %s;" % ( code.putln("%s = %s;" % (
Naming.cur_scope_cname, Naming.cur_scope_cname,
lenv.scope_class.type.cast_code("Py_None"))); lenv.scope_class.type.cast_code("Py_None")))
code.put_incref("Py_None", py_object_type); code.put_incref("Py_None", py_object_type)
code.putln(code.error_goto(self.pos)) code.putln(code.error_goto(self.pos))
code.putln("} else {") code.putln("} else {")
code.put_gotref(Naming.cur_scope_cname) code.put_gotref(Naming.cur_scope_cname)
......
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