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

Irit Katriel report at bugs.python.org
Fri Jan 7 14:32:21 EST 2022


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

There are other issues in this doc:

1. The paragraph starting with "The except clause may specify a variable after the exception name.." appears after this face was used in an example. It should move up.

2. In the User-defined Exceptions Section, there is a link to the Classes tutorial in the beginning "(See Classes for more about Python classes)", and another one at the end, "More information on classes it presented in chapter Classes".     The second one can be removed.

----------

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


More information about the Python-bugs-list mailing list