Commit a0777b2f authored by Stefan Behnel's avatar Stefan Behnel

Remove dead code.

parent 8a59142d
...@@ -663,7 +663,6 @@ class MemberTableSlot(SlotDescriptor): ...@@ -663,7 +663,6 @@ class MemberTableSlot(SlotDescriptor):
from .Code import UtilityCode from .Code import UtilityCode
code.globalstate.use_utility_code(UtilityCode.load_cached("IncludeStructmemberH", "ModuleSetupCode.c")) code.globalstate.use_utility_code(UtilityCode.load_cached("IncludeStructmemberH", "ModuleSetupCode.c"))
ext_type = scope.parent_type
code.putln("static struct PyMemberDef %s[] = {" % self.substructure_cname(scope)) code.putln("static struct PyMemberDef %s[] = {" % self.substructure_cname(scope))
for member_entry in self.get_member_specs(scope): for member_entry in self.get_member_specs(scope):
if member_entry: if member_entry:
......
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