xmlclass/xmlclass.py
changeset 2429 15f18dc8b56a
parent 2343 33071a451021
child 2431 6923074540dd
--- a/xmlclass/xmlclass.py	Thu Nov 22 23:39:54 2018 +0100
+++ b/xmlclass/xmlclass.py	Fri Nov 23 00:33:04 2018 +0100
@@ -627,7 +627,6 @@
                 value = infos["elmt_type"]["initial"]()
                 if infos["type"] != ANY:
                     DefaultElementClass.__setattr__(value, "tag", element_name)
-                    value._init_()
                 return value
         return [initial_value() for dummy in xrange(infos["minOccurs"])]
     else: