[issue34789] doc xml.sax.make_parser expects a list not just any sequence
Andrés Delfino
report at bugs.python.org
Mon Sep 24 12:04:07 EDT 2018
New submission from Andrés Delfino <adelfino at gmail.com>:
Doc says:
"If parser_list is provided, it must be a *sequence* of strings which name modules that have a function named create_parser()"
but code concatenas parser_list with an existing list:
for parser_name in parser_list + default_parser_list:
Fix this by stating parser_list must be a specific kind of sequence, that is, a list.
----------
assignee: docs at python
components: Documentation
messages: 326261
nosy: adelfino, docs at python
priority: normal
severity: normal
status: open
title: doc xml.sax.make_parser expects a list not just any sequence
type: enhancement
versions: Python 2.7, Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34789>
_______________________________________
More information about the Python-bugs-list
mailing list