]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Clarify the documentation of XMLParser.close
authorEli Bendersky <eliben@gmail.com>
Sat, 24 Aug 2013 22:11:44 +0000 (15:11 -0700)
committerEli Bendersky <eliben@gmail.com>
Sat, 24 Aug 2013 22:11:44 +0000 (15:11 -0700)
commitbfd78370a59863e0f1715d122cc1e4b26101028e
tree315bf8eef189a8a23cc63302b8f9aca7e62ee3b3
parent1544fc53129afad4d50ce15e2f3cd4f6bf08fc1c
Clarify the documentation of XMLParser.close

The return value of close() is not always a toplevel element. It depends on
what the underlying target returns. By default, TreeBuilder returns the
toplevel document element.
Doc/library/xml.etree.elementtree.rst