This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients docs@python, martin.panter
Date 2015-02-08.02:45:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1423363529.11.0.811105622961.issue23391@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch to redocument the constructor arguments. I am assuming that they were only removed by accident. The constructor arguments are already tested in ExceptionTests.testAttributes() at Lib/test/test_exceptions.py:248.

I did not restore the bit about more than three arguments being reflected in the “args” attribute, since this is not the current behaviour, and does not seem very important:

>>> OSError(1, 2, 3, 4).args
(1, 2)
History
Date User Action Args
2015-02-08 02:45:29martin.pantersetrecipients: + martin.panter, docs@python
2015-02-08 02:45:29martin.pantersetmessageid: <1423363529.11.0.811105622961.issue23391@psf.upfronthosting.co.za>
2015-02-08 02:45:29martin.panterlinkissue23391 messages
2015-02-08 02:45:28martin.pantercreate