PyDocs

Nav

Structured Markup Processing Tools

Node.unlink

  • Node.unlink()
Break internal references within the DOM so that it will be garbage collected on versions of Python without cyclic GC. Even when cyclic GC is available, using this can make large amounts of memory available sooner, so calling this on DOM objects as soon as they are no longer needed is good practice. This only needs to be called on the Document object, but may be called on child nodes to discard children of that node.
0 Examples
No examples for xml.dom.minidom/Node.unlink.
See Also
No see-alsos for xml.dom.minidom/Node.unlink
0 Notes
No notes for Node.unlink