[issue46291] [doc] First argument to raise can also be BaseException

Irit Katriel report at bugs.python.org
Fri Jan 7 13:58:23 EST 2022


Irit Katriel <iritkatriel at gmail.com> added the comment:

If you scroll up, you can see that BaseException was mentioned above:

"All exceptions inherit from BaseException, and so it can be used to serve as a wildcard"

so I don't think it will add confusion to fix this. And it will be more accurate.

Gregor, would you like to submit a patch?

----------
nosy: +iritkatriel

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


More information about the Python-bugs-list mailing list