Source
def clear(self):
self._html = ''
self._url = None
self._nodes = pyNodeList()
self._is_started = False
del self._dom[:]
[internal] clear html text and DOM tree.
def clear(self):
self._html = ''
self._url = None
self._nodes = pyNodeList()
self._is_started = False
del self._dom[:]