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