Skip to content

Commit 8df6795

Browse files
committed
Undo removing comment
1 parent cca0fda commit 8df6795

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/xml/dom/minidom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def insertBefore(self, newChild, refChild):
9393
if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
9494
for c in tuple(newChild.childNodes):
9595
self.insertBefore(c, refChild)
96+
### The DOM does not clearly specify what to return in this case
9697
return newChild
9798
if newChild.nodeType not in self._child_node_types:
9899
raise xml.dom.HierarchyRequestErr(

0 commit comments

Comments
 (0)