Message235542
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) |
|
Date |
User |
Action |
Args |
2015-02-08 02:45:29 | martin.panter | set | recipients:
+ martin.panter, docs@python |
2015-02-08 02:45:29 | martin.panter | set | messageid: <1423363529.11.0.811105622961.issue23391@psf.upfronthosting.co.za> |
2015-02-08 02:45:29 | martin.panter | link | issue23391 messages |
2015-02-08 02:45:28 | martin.panter | create | |
|