diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 6bafbe70825..d24924e4f41 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -983,8 +983,8 @@ XMLParser Objects .. method:: close() Finishes feeding data to the parser. Returns the result of calling the - `close` method of the *target* passed during construction; by default, - this is the toplevel document element. + :meth:`~TreeBuilder.close` method of the *target* passed during + construction; by default, this is the toplevel document element. .. method:: doctype(name, pubid, system)