code: def unlink(self):
  		
  		self.parentNode = None
  		for child in self.childNodes:
  			child.unlink()
  		del self.childNodes[:]
docs: Break internal references within the document tree rooted
  		on this element to promote garbage collection.