13.11.2 IncrementalParser Objects

Instances of IncrementalParser offer the following additional methods:

Process a chunk of data.

Assume the end of the document. That will check well-formedness conditions that can be checked only at the end, invoke handlers, and may clean up resources allocated during parsing.

This method is called after close has been called to reset the parser so that it is ready to parse new documents. The results of calling parse or feed after close without calling reset are undefined."""

See About this document... for information on suggesting changes.