New submission from Hong Xu <h...@topbug.net>:
The "Builtin Exceptions" page does not document the constructors of the listed exception classes. All it says is > The tuple of arguments given to the exception constructor. Some built-in > exceptions (like OSError) expect a certain number of arguments and assign a > special meaning to the elements of this tuple, while others are usually > called only with a single string giving an error message. This is quite vague and does not really guide users for individual exception classes. ---------- assignee: docs@python components: Documentation messages: 345195 nosy: Hong Xu, docs@python priority: normal severity: normal status: open title: Signatures of Exceptions not documented versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37225> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com