From aa8805a5a504ae9740264a0bf8f55a4cd61ca366 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 8f076e86e957c2d..ea0631736ca49f3 100644 --- a/Doc/library/pyexpat.rst +++ b/Doc/library/pyexpat.rst @@ -557,7 +557,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'``,