diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2025-01-02 12:54:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-02 12:54:38 (GMT) |
commit | 8e48a6edc75ca67a34924bbe54463ca913ae6e58 (patch) | |
tree | d50970c055e980f133ce1795a483e45fee0c75c3 /Doc/library | |
parent | a3711d1541c1b7987941b41d2247f87dae347117 (diff) | |
download | cpython-8e48a6edc75ca67a34924bbe54463ca913ae6e58.zip cpython-8e48a6edc75ca67a34924bbe54463ca913ae6e58.tar.gz cpython-8e48a6edc75ca67a34924bbe54463ca913ae6e58.tar.bz2 |
gh-126624: Expose error code ``XML_ERROR_NOT_STARTED`` of Expat >=2.6.4 (#126625)
Expose error code ``XML_ERROR_NOT_STARTED`` in `xml.parsers.expat.errors` which was
introduced in Expat 2.6.4.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/pyexpat.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index c0e9999..0f3b58e 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -941,6 +941,13 @@ The ``errors`` module has the following attributes: has been breached. +.. data:: XML_ERROR_NOT_STARTED + + The parser was tried to be stopped or suspended before it started. + + .. versionadded:: next + + .. rubric:: Footnotes .. [1] The encoding string included in XML output should conform to the |