https://github.com/python/cpython/commit/436d791c26de90e38ee1734a42534594f6a56e98
commit: 436d791c26de90e38ee1734a42534594f6a56e98
branch: main
author: founderielabs <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-11-22T11:32:15Z
summary:

Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs (#162385)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M Doc/library/pyexpat.rst

diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst
index f6d4aca383481f..712b31367577f7 100644
--- a/Doc/library/pyexpat.rst
+++ b/Doc/library/pyexpat.rst
@@ -603,7 +603,7 @@ otherwise stated.
    Called for each declared attribute for an element type.  If an attribute 
list
    declaration declares three attributes, this handler is called three times, 
once
    for each attribute.  *elname* is the name of the element to which the
-   declaration applies and *attname* is the name of the attribute declared.  
The
+   declaration applies and *attname* is the name of the attribute declared.
    The attribute type is a string passed as *type*:
    ``'CDATA'``, ``'ID'``, ``'IDREF'``, ``'IDREFS'``, ``'ENTITY'``,
    ``'ENTITIES'``, ``'NMTOKEN'`` or ``'NMTOKENS'``,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to