Skip to content

Commit 727af86

Browse files
committed
Update docstrings as it was done in argument clinic
1 parent 8df6795 commit 727af86

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Lib/xml/dom/minidom.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,14 +1933,10 @@ def renameNode(self, n, namespaceURI, name):
19331933
def _clone_node(node, deep, newOwnerDocument):
19341934
"""Create and return a clone of a DOM node.
19351935
1936-
Args:
1937-
node: The DOM node to clone
1938-
deep (bool): If True, recursively clone the node's descendants.
1939-
If False, only clone the node itself.
1940-
newOwnerDocument: The document that will own the cloned node
1941-
1942-
Returns:
1943-
The cloned node
1936+
node: The DOM node to clone
1937+
deep: If True, recursively clone the node's descendants.
1938+
If False, only clone the node itself.
1939+
newOwnerDocument: The document that will own the cloned node
19441940
"""
19451941
if node.ownerDocument.isSameNode(newOwnerDocument):
19461942
operation = xml.dom.UserDataHandler.NODE_CLONED

0 commit comments

Comments
 (0)