From c259c4934d1bd6037ba25fcc4a533260c63ebb6c Mon Sep 17 00:00:00 2001 From: founderielabs Date: Sun, 22 Nov 2026 17:02:15 +0530 Subject: [PATCH] Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs (GH-162385) (cherry picked from commit 436d791c26de90e38ee1734a42534594f6a56e98) Co-authored-by: founderielabs Co-authored-by: Stan Ulbrych --- Doc/library/pyexpat.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/pyexpat.rst b/Doc/library/pyexpat.rst index 9247660f16a5afd..a58a4d8b65ad4d0 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -539,7 +539,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'``,