[docs] [issue23391] Documentation of EnvironmentError (OSError) arguments disappeared
Serhiy Storchaka
report at bugs.python.org
Sat Mar 21 10:37:04 CET 2015
Serhiy Storchaka added the comment:
Current behavior is more complicated.
>>> OSError(1, 2, 3, 4).args
(1, 2)
>>> OSError(1, 2, 3, 4, 5).args
(1, 2)
>>> OSError(1, 2, 3, 4, 5, 6).args
(1, 2, 3, 4, 5, 6)
If I remember correctly:
1 -- errno
2 -- strerror
3 -- filename
4 -- winerror (?)
5 -- filename2
Isn't it documented anywhere?
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23391>
_______________________________________
More information about the docs
mailing list