[issue44279] doc: contextlib.suppress documentation is imprecise

Irit Katriel report at bugs.python.org
Tue Jun 1 14:02:31 EDT 2021


New submission from Irit Katriel <iritkatriel at yahoo.com>:

"suppresses any of the specified exceptions if they occur in the body of a with statement"

Should be:

"suppresses any of the specified exceptions if they are raised in the body of a with statement"

----------
assignee: docs at python
components: Documentation, Library (Lib)
messages: 394863
nosy: docs at python, iritkatriel
priority: normal
severity: normal
status: open
title: doc: contextlib.suppress documentation is imprecise
versions: Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44279>
_______________________________________


More information about the Python-bugs-list mailing list