From fb2cf16e45a0d877531c0034c8b6bd4e96165e99 Mon Sep 17 00:00:00 2001 From: manoj Date: Tue, 23 Jun 2026 10:27:45 +0530 Subject: [PATCH] Fix incorrect interface names in xml.sax.rst --- Doc/library/xml.sax.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/library/xml.sax.rst b/Doc/library/xml.sax.rst index 77234cac5d92ad..ce7a31739f1c4a 100644 --- a/Doc/library/xml.sax.rst +++ b/Doc/library/xml.sax.rst @@ -79,10 +79,10 @@ instantiated by the application itself. Since Python does not have an explicit notion of interface, they are formally introduced as classes, but applications may use implementations which do not inherit from the provided classes. The :class:`~xml.sax.xmlreader.InputSource`, :class:`~xml.sax.xmlreader.Locator`, -:class:`~xml.sax.xmlreader.Attributes`, :class:`~xml.sax.xmlreader.AttributesNS`, -and :class:`~xml.sax.xmlreader.XMLReader` interfaces are defined in the -module :mod:`xml.sax.xmlreader`. The handler interfaces are defined in -:mod:`xml.sax.handler`. For convenience, +:class:`~xml.sax.xmlreader.AttributesImpl`, +:class:`~xml.sax.xmlreader.AttributesNSImpl`, and :class:`~xml.sax.xmlreader.XMLReader` +interfaces are defined in the module :mod:`xml.sax.xmlreader`. +The handler interfaces are defined in :mod:`xml.sax.handler`. For convenience, :class:`~xml.sax.xmlreader.InputSource` (which is often instantiated directly) and the handler classes are also available from :mod:`!xml.sax`. These interfaces are described below.