diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index c72ba3dbaa0c92..9b4bad19d3929d 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -944,6 +944,8 @@ The ``errors`` module has the following attributes: .. data:: XML_ERROR_NOT_STARTED The parser was tried to be stopped or suspended before it started. + + .. versionadded:: next .. rubric:: Footnotes diff --git a/Misc/NEWS.d/next/Library/2024-11-09-15-59-51.gh-issue-126624.bN53Va.rst b/Misc/NEWS.d/next/Library/2024-11-09-15-59-51.gh-issue-126624.bN53Va.rst index 9c0490a0ec7907..468840a651c253 100644 --- a/Misc/NEWS.d/next/Library/2024-11-09-15-59-51.gh-issue-126624.bN53Va.rst +++ b/Misc/NEWS.d/next/Library/2024-11-09-15-59-51.gh-issue-126624.bN53Va.rst @@ -1 +1,2 @@ -Expose error code ``XML_ERROR_NOT_STARTED`` of Expat >=2.6.4 in :mod:`xml.parsers.expat.errors`. +Expose error code :data:`~xml.parsers.expat.errors.XML_ERROR_NOT_STARTED` +of Expat >=2.6.4 in :mod:`xml.parsers.expat.errors`.