Skip to content

Commit 19d245c

Browse files
committed
Update docstrings
1 parent b97d812 commit 19d245c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Lib/xml/dom/minidom.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,9 +1370,9 @@ def _get_internalSubset(self):
13701370
def cloneNode(self, deep):
13711371
"""Create and return a duplicate of this node.
13721372
1373-
deep
1374-
If True, recursively clone this node's descendants.
1375-
If False, clone only this node.
1373+
deep
1374+
If True, recursively clone this node's descendants.
1375+
If False, clone only this node.
13761376
"""
13771377
if self.ownerDocument is None:
13781378
# it's ok
@@ -1938,13 +1938,13 @@ def renameNode(self, n, namespaceURI, name):
19381938
def _clone_node(node, deep, newOwnerDocument):
19391939
"""Create and return a clone of a DOM node.
19401940
1941-
node
1942-
The DOM node to clone.
1943-
deep
1944-
If True, recursively clone the node's descendants.
1945-
If False, only clone the node itself.
1946-
newOwnerDocument
1947-
The document that will own the cloned node.
1941+
node
1942+
The DOM node to clone.
1943+
deep
1944+
If True, recursively clone the node's descendants.
1945+
If False, only clone the node itself.
1946+
newOwnerDocument
1947+
The document that will own the cloned node.
19481948
"""
19491949
if node.ownerDocument.isSameNode(newOwnerDocument):
19501950
operation = xml.dom.UserDataHandler.NODE_CLONED

0 commit comments

Comments
 (0)