File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -387,6 +387,11 @@ Functions
387387 :class: `XMLParser ` parser is used. Returns an :term: `iterator ` providing
388388 ``(event, elem) `` pairs.
389389
390+ Note that while :func: `iterparse ` builds the tree incrementally, it issues
391+ blocking reads on *source * (or the file it names). As such, it's unsuitable
392+ for asynchronous applications where blocking reads can't be made. For fully
393+ asynchronous parsing, see :class: `IncrementalParser `.
394+
390395 .. note ::
391396
392397 :func: `iterparse ` only guarantees that it has seen the ">"
@@ -397,10 +402,6 @@ Functions
397402
398403 If you need a fully populated element, look for "end" events instead.
399404
400- .. note ::
401- For real event-driven parsing, see :class: `IncrementalParser `.
402-
403-
404405.. function :: parse(source, parser=None)
405406
406407 Parses an XML section into an element tree. *source * is a filename or file
You can’t perform that action at this time.
0 commit comments