summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Lib/xml
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-02-07 19:56:35 +0300
committershadchin <[email protected]>2026-02-07 20:23:53 +0300
commit19d43a3e6fb4cb8ea11747d7d7bca7a3542fbb44 (patch)
tree0b1418938140a0b6470953bef6069454ffdf1bd0 /contrib/tools/python3/Lib/xml
parent0879409bfc0891ab8103828a3bdbf0e960475fec (diff)
Update Python 3 to 3.13.12
commit_hash:71d3efea437a769b2b7910d196120bb02587046e
Diffstat (limited to 'contrib/tools/python3/Lib/xml')
-rw-r--r--contrib/tools/python3/Lib/xml/dom/minidom.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/tools/python3/Lib/xml/dom/minidom.py b/contrib/tools/python3/Lib/xml/dom/minidom.py
index 0a2ccc00f18..16b33b90184 100644
--- a/contrib/tools/python3/Lib/xml/dom/minidom.py
+++ b/contrib/tools/python3/Lib/xml/dom/minidom.py
@@ -364,6 +364,7 @@ class Attr(Node):
def __init__(self, qName, namespaceURI=EMPTY_NAMESPACE, localName=None,
prefix=None):
self.ownerElement = None
+ self.ownerDocument = None
self._name = qName
self.namespaceURI = namespaceURI
self._prefix = prefix
@@ -689,6 +690,7 @@ class Element(Node):
def __init__(self, tagName, namespaceURI=EMPTY_NAMESPACE, prefix=None,
localName=None):
+ self.ownerDocument = None
self.parentNode = None
self.tagName = self.nodeName = tagName
self.prefix = prefix