[docs] [issue37225] Signatures of Exceptions not documented

Hong Xu report at bugs.python.org
Tue Jun 11 21:12:14 EDT 2019


Hong Xu <hong at topbug.net> added the comment:

Thanks for your answer, but I believe this is a real document bug. OSError does have its signature documented, but the majority of other exception classes do not do so, neither does BaseException explains a default behavior clearly (see my quote above).

As an example, ValueError accepts multiple arguments and makes use of all of them when given, but from the document, I can barely guess this out.

----------

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


More information about the docs mailing list