mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
Update Lib/xml/dom/minidom.py
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
parent
8b6373060d
commit
49a12e6b3c
1 changed files with 1 additions and 1 deletions
|
|
@ -1942,7 +1942,7 @@ def _clone_node(node, deep, newOwnerDocument):
|
||||||
If True, recursively clone the node's descendants.
|
If True, recursively clone the node's descendants.
|
||||||
If False, only clone the node itself.
|
If False, only clone the node itself.
|
||||||
newOwnerDocument
|
newOwnerDocument
|
||||||
The document that will own the cloned node
|
The document that will own the cloned node.
|
||||||
"""
|
"""
|
||||||
if node.ownerDocument.isSameNode(newOwnerDocument):
|
if node.ownerDocument.isSameNode(newOwnerDocument):
|
||||||
operation = xml.dom.UserDataHandler.NODE_CLONED
|
operation = xml.dom.UserDataHandler.NODE_CLONED
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue