Commit 14a18801 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent 7d35f07e
...@@ -1278,8 +1278,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -1278,8 +1278,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
struct_type_cast, type.vtabptr_cname)) struct_type_cast, type.vtabptr_cname))
for entry in cpp_class_attrs: for entry in cpp_class_attrs:
code.putln("new((void*)&(p->%s)) %s();" % code.putln("new((void*)&(p->%s)) %s();" % (
(entry.cname, entry.type.empty_declaration_code())) entry.cname, entry.type.empty_declaration_code()))
for entry in py_attrs: for entry in py_attrs:
if entry.name == "__dict__": if entry.name == "__dict__":
......
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