From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 26 Oct 2018 13:27:15 +0000 (-0700) Subject: [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542) X-Git-Tag: v3.6.8rc1~181 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38d7620baab96c702243cfa193377a38888ec10f;p=thirdparty%2FPython%2Fcpython.git [3.7] bpo-34789: xml.sax.make_parser expects a list not just any sequence (GH-9542) (cherry picked from commit 1487b651caa62647f8f8c9e8432e475e3566130c) Co-authored-by: Andrés Delfino --- diff --git a/Doc/library/xml.sax.rst b/Doc/library/xml.sax.rst index 1a8f183a945f..254b539e74db 100644 --- a/Doc/library/xml.sax.rst +++ b/Doc/library/xml.sax.rst @@ -40,7 +40,7 @@ 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 a list 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.