diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-10-26 11:05:42 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-10-26 11:05:42 (GMT) |
commit | 5487c13e44ec851023383edda6e33458aaa1310f (patch) | |
tree | 7f61d2dc2bf50b7e07c3e90c6bae02f30f5782f2 /Modules/mathmodule.c | |
parent | f085a16f55bbd3f8403df3cb094ccd4c16044b6b (diff) | |
download | cpython-5487c13e44ec851023383edda6e33458aaa1310f.zip cpython-5487c13e44ec851023383edda6e33458aaa1310f.tar.gz cpython-5487c13e44ec851023383edda6e33458aaa1310f.tar.bz2 |
Issue #23391: Restore OSError constructor argument documentation
This restores details lost in revision 097f4fda61a4 (since Python 3.3,
related to the new OSError subclasses). Further additions:
* Markup for attributes and constructor signature
* Explain "winerror" and "filename2"
* Extend test to check for filename2 defaulting to None
* Clarify that the constructor can return a subclass
I have intentionally left out any details of allowing more than five
arguments, or how the "args" attribute is set for four or more arguments.
These details seem to be dependent on the Python version and platform.
Diffstat (limited to 'Modules/mathmodule.c')
0 files changed, 0 insertions, 0 deletions