MCPcopy Index your code
hub / github.com/RustPython/RustPython / feed

Method feed

Lib/xml/etree/ElementTree.py:1720–1725  ·  view source on GitHub ↗

Feed encoded data to parser.

(self, data)

Source from the content-addressed store, hash-verified

1718 self._doctype = None
1719
1720 def feed(self, data):
1721 """Feed encoded data to parser."""
1722 try:
1723 self.parser.Parse(data, False)
1724 except self._error as v:
1725 self._raiseerror(v)
1726
1727 def close(self):
1728 """Finish feeding data to parser and return element structure."""

Callers 15

test_parsefileMethod · 0.95
test_custom_builderMethod · 0.95
test_entityMethod · 0.95
test_bug_xmltoolkit62Method · 0.95
test_bug_200708_closeMethod · 0.95
test_dummy_builderMethod · 0.95
test_late_tailMethod · 0.95
test_subclassMethod · 0.95

Calls 1

_raiseerrorMethod · 0.95

Tested by 15

test_parsefileMethod · 0.76
test_custom_builderMethod · 0.76
test_entityMethod · 0.76
test_bug_xmltoolkit62Method · 0.76
test_bug_200708_closeMethod · 0.76
test_dummy_builderMethod · 0.76
test_late_tailMethod · 0.76
test_subclassMethod · 0.76