MCPcopy Index your code
hub / github.com/python/cpython / reset

Method reset

Lib/xml/dom/pulldom.py:213–217  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

211 self.reset()
212
213 def reset(self):
214 self.pulldom = PullDOM()
215 # This content handler relies on namespace support
216 self.parser.setFeature(xml.sax.handler.feature_namespaces, 1)
217 self.parser.setContentHandler(self.pulldom)
218
219 def __next__(self):
220 rc = self.getEvent()

Callers 1

__init__Method · 0.95

Calls 3

PullDOMClass · 0.85
setFeatureMethod · 0.45
setContentHandlerMethod · 0.45

Tested by

no test coverage detected