Update Lib/xml/dom/minidom.py

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) 2025-01-06 18:13:38 +05:30 committed by GitHub
parent 8b6373060d
commit 49a12e6b3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1942,7 +1942,7 @@ def _clone_node(node, deep, newOwnerDocument):
If True, recursively clone the node's descendants.
If False, only clone the node itself.
newOwnerDocument
The document that will own the cloned node
The document that will own the cloned node.
"""
if node.ownerDocument.isSameNode(newOwnerDocument):
operation = xml.dom.UserDataHandler.NODE_CLONED