Skip to content

Commit ecb4a54

Browse files
committed
Update doc strings
1 parent 2da171f commit ecb4a54

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

Lib/xml/dom/minidom.py

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,9 @@ def normalize(self):
225225
def cloneNode(self, deep):
226226
"""Create and return a duplicate of this node.
227227
228-
deep: If True, recursively clone this node's descendants.
229-
If False, clone only this node.
228+
deep
229+
If True, recursively clone this node's descendants.
230+
If False, clone only this node.
230231
"""
231232
return _clone_node(self, deep, self.ownerDocument or self)
232233

@@ -1367,7 +1368,8 @@ def _get_internalSubset(self):
13671368
def cloneNode(self, deep):
13681369
"""Create and return a duplicate of this node.
13691370
1370-
deep: If True, recursively clone this node's descendants.
1371+
deep
1372+
If True, recursively clone this node's descendants.
13711373
If False, clone only this node.
13721374
"""
13731375
if self.ownerDocument is None:
@@ -1934,10 +1936,13 @@ def renameNode(self, n, namespaceURI, name):
19341936
def _clone_node(node, deep, newOwnerDocument):
19351937
"""Create and return a clone of a DOM node.
19361938
1937-
node: The DOM node to clone
1938-
deep: If True, recursively clone the node's descendants.
1939+
node
1940+
The DOM node to clone
1941+
deep
1942+
If True, recursively clone the node's descendants.
19391943
If False, only clone the node itself.
1940-
newOwnerDocument: The document that will own the cloned node
1944+
newOwnerDocument
1945+
The document that will own the cloned node
19411946
"""
19421947
if node.ownerDocument.isSameNode(newOwnerDocument):
19431948
operation = xml.dom.UserDataHandler.NODE_CLONED

0 commit comments

Comments
 (0)