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

Method feed

Lib/xml/sax/xmlreader.py:127–134  ·  view source on GitHub ↗

This method gives the raw XML data in the data parameter to the parser and makes it parse the data, emitting the corresponding events. It is allowed for XML constructs to be split across several calls to feed. feed may raise SAXException.

(self, data)

Source from the content-addressed store, hash-verified

125 self.close()
126
127 def feed(self, data):
128 """This method gives the raw XML data in the data parameter to
129 the parser and makes it parse the data, emitting the
130 corresponding events. It is allowed for XML constructs to be
131 split across several calls to feed.
132
133 feed may raise SAXException."""
134 raise NotImplementedError("This method must be implemented!")
135
136 def prepareParser(self, source):
137 """This method is called by the parse implementation to allow

Callers 1

parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected