summaryrefslogtreecommitdiff
path: root/Doc/library/xml.sax.rst
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-10-26 11:56:57 -0300
committerTal Einat <taleinat+github@gmail.com>2018-10-26 17:56:57 +0300
commita6dc531063efe3a8d47ff4639729060c72a3688c (patch)
tree25f8f3c4a7883783103a4c6d73ee117aa50dc187 /Doc/library/xml.sax.rst
parent10cb3760e8631a27f5db1e51b05494e29306c671 (diff)
downloadcpython-git-a6dc531063efe3a8d47ff4639729060c72a3688c.tar.gz
bpo-34789: make xml.sax.make_parser accept iterables of all types (GH-9576)
Diffstat (limited to 'Doc/library/xml.sax.rst')
-rw-r--r--Doc/library/xml.sax.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/library/xml.sax.rst b/Doc/library/xml.sax.rst
index aa3ea9bfc5..0b6973b8c8 100644
--- a/Doc/library/xml.sax.rst
+++ b/Doc/library/xml.sax.rst
@@ -40,10 +40,13 @@ The convenience functions are:
Create and return a SAX :class:`~xml.sax.xmlreader.XMLReader` object. The
first parser found will
- be used. If *parser_list* is provided, it must be a sequence of strings which
+ be used. If *parser_list* is provided, it must be an iterable of strings which
name modules that have a function named :func:`create_parser`. Modules listed
in *parser_list* will be used before modules in the default list of parsers.
+ .. versionchanged:: 3.8
+ The *parser_list* argument can be any iterable, not just a list.
+
.. function:: parse(filename_or_stream, handler, error_handler=handler.ErrorHandler())