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

Method _emit

Lib/xml/dom/pulldom.py:268–274  ·  view source on GitHub ↗

Fallback replacement for getEvent() that emits the events that _slurp() read previously.

(self)

Source from the content-addressed store, hash-verified

266 return self._emit()
267
268 def _emit(self):
269 """ Fallback replacement for getEvent() that emits
270 the events that _slurp() read previously.
271 """
272 rc = self.pulldom.firstEvent[1][0]
273 self.pulldom.firstEvent[1] = self.pulldom.firstEvent[1][1]
274 return rc
275
276 def clear(self):
277 """clear(): Explicitly release parsing objects"""

Callers 1

_slurpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected