xmlclass/xmlclass.py
changeset 2343 33071a451021
parent 2297 96ca6b056c55
child 2431 6923074540dd
--- a/xmlclass/xmlclass.py	Tue Sep 25 18:31:17 2018 +0300
+++ b/xmlclass/xmlclass.py	Tue Sep 25 19:00:03 2018 +0300
@@ -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: