Yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/incremental-parser-objects.html

From ZCubes Wiki
Revision as of 19:44, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/20/lib/xmlreader-objects.html|[[Image:yu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


13.8.2 IncrementalParser Objects

Instances of IncrementalParser offer the following additional methods:

feed (data)
Process a chunk of data.
close ()
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.
reset ()
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.