Skip to content

Commit 1f72766

Browse files
Fix the remaining reference to document()
1 parent f601a20 commit 1f72766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/xml.etree.elementtree.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ TreeBuilder Objects
13451345
factories will be used. When *insert_comments* and/or *insert_pis* is true,
13461346
comments/pis will be inserted into the tree if they appear within the root
13471347
element. Those which appear outside of it are returned by
1348-
:meth:`document`.
1348+
:meth:`get_document_children`.
13491349

13501350
.. versionchanged:: next
13511351
Comments and processing instructions outside the root element

0 commit comments

Comments
 (0)