From 9ea14df4a55af54596b6db87470672520e822b86 Mon Sep 17 00:00:00 2001 From: Moshe Kaplan Date: Fri, 15 Jan 2021 09:00:11 -0500 Subject: [PATCH 1/2] xml.etree.elementtree: Specify XML document name The xpath-support section references that it uses the `countrydata` XML document located in the Parsing XML section. However, the Parsing XML section does not explicitly state that the XML document is named `countrydata`. This change adds the name `countrydata` to the Parsing XML section. --- Doc/library/xml.etree.elementtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index 87f4ee347d604d..1fd67726d1c9ef 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -49,7 +49,7 @@ and its sub-elements are done on the :class:`Element` level. Parsing XML ^^^^^^^^^^^ -We'll be using the following XML document as the sample data for this section: +We'll be using the following ``countrydata`` XML document as the sample data for this section: .. code-block:: xml From ea22e6446c96256c53dab5df31657c7e4fdcce70 Mon Sep 17 00:00:00 2001 From: "Erlend E. Aasland" Date: Mon, 1 Apr 2024 21:41:15 +0200 Subject: [PATCH 2/2] Update Doc/library/xml.etree.elementtree.rst --- Doc/library/xml.etree.elementtree.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/xml.etree.elementtree.rst b/Doc/library/xml.etree.elementtree.rst index ebde08b5e6e9e9..7d721f7633899e 100644 --- a/Doc/library/xml.etree.elementtree.rst +++ b/Doc/library/xml.etree.elementtree.rst @@ -49,7 +49,7 @@ and its sub-elements are done on the :class:`Element` level. Parsing XML ^^^^^^^^^^^ -We'll be using the following ``countrydata`` XML document as the sample data for this section: +We'll be using the fictive :file:`country_data.xml` XML document as the sample data for this section: .. code-block:: xml