[issue41742] Request for docs.python.org/3/library/configparser.html#exceptions improvement
New submission from leveque <jean-francois.leveque@sorbonne-universite.fr>: Hi, docs.python.org/3/library/configparser.html#exceptions does not mention KeyError which is mentioned under https://docs.python.org/3/library/configparser.html#mapping-protocol-access and https://docs.python.org/3/library/configparser.html#customizing-parser-behav.... Could it be added ? Cheers, ---------- assignee: docs@python components: Documentation messages: 376551 nosy: docs@python, leveque priority: normal severity: normal status: open title: Request for docs.python.org/3/library/configparser.html#exceptions improvement type: enhancement versions: Python 3.10, Python 3.8, Python 3.9 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue41742> _______________________________________
Terry J. Reedy <tjreedy@udel.edu> added the comment: https://docs.python.org/3/library/configparser.html#exceptions, like similar sections for other module docs, lists and explains the non-builtin exceptions defined and used in the module. Functions in all modules can potentially raise various builtin exceptions, and some of these may be mentioned. They are all documented in a beginning chapter the library doc, which users are expected to be familiar with. That said, I vaguely remember at least some Exceptions sections beginning with some like 'Additional exceptions defined in this module.' If you or someone thinks it worthwhile enough to check other modules, using the left sidebar ToC, to find such examples, I will consider making a PR. ---------- nosy: +terry.reedy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue41742> _______________________________________
Change by Irit Katriel <iritkatriel@yahoo.com>: ---------- keywords: +easy _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue41742> _______________________________________
participants (3)
-
Irit Katriel -
leveque -
Terry J. Reedy