Skip to content

Commit b094606

Browse files
Add reference to create_parser(), fix spacing in xml.sax.rst
1 parent e64e3f4 commit b094606

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

Doc/library/xml.sax.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ The convenience functions are:
3434
.. function:: make_parser(parser_list=[])
3535

3636
Create and return a SAX :class:`~xml.sax.xmlreader.XMLReader` object. The
37-
first parser found will
38-
be used. If *parser_list* is provided, it must be an iterable of strings which
39-
name modules that have a function named :func:`create_parser`. Modules listed
40-
in *parser_list* will be used before modules in the default list of parsers.
37+
first parser found will be used. If *parser_list* is provided, it must be
38+
an iterable of strings which name modules that have a function named
39+
:ref:`create_parser <sax-parser-modules>`. Modules listed in *parser_list*
40+
will be used before modules in the default list of parsers.
4141

4242
.. versionchanged:: 3.8
4343
The *parser_list* argument can be any iterable, not just a list.
@@ -79,9 +79,9 @@ instantiated by the application itself. Since Python does not have an explicit
7979
notion of interface, they are formally introduced as classes, but applications
8080
may use implementations which do not inherit from the provided classes. The
8181
:class:`~xml.sax.xmlreader.InputSource`, :class:`~xml.sax.xmlreader.Locator`,
82-
:ref:`Attributes <attributes-objects>`,:ref:`AttributesNS <attributes-ns-objects>`,
82+
:ref:`Attributes <attributes-objects>`, :ref:`AttributesNS <attributes-ns-objects>`,
8383
and :class:`~xml.sax.xmlreader.XMLReader` interfaces are defined in the module
84-
:mod:`xml.sax.xmlreader`. The handler interfaces are defined in
84+
:mod:`xml.sax.xmlreader`. The handler interfaces are defined in
8585
:mod:`xml.sax.handler`. For convenience, :class:`~xml.sax.xmlreader.InputSource`
8686
(which is often instantiated directly) and the handler classes are also available
8787
from :mod:`!xml.sax`. These interfaces are described below.

Doc/tools/.nitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Doc/library/xml.dom.minidom.rst
3232
Doc/library/xml.dom.pulldom.rst
3333
Doc/library/xml.dom.rst
3434
Doc/library/xml.sax.reader.rst
35-
Doc/library/xml.sax.rst
3635
Doc/library/xmlrpc.client.rst
3736
Doc/library/xmlrpc.server.rst
3837
Doc/whatsnew/2.4.rst

0 commit comments

Comments
 (0)