Message109434
Examples:
* open(filename) works
* open(filename, buffering=-1) works
* open(filename, buffering=None) fails
In the code:
* _pyio.open(): default value is -1, type is int, no default value in the docstring
* _io.open(): default value is not specified (C function), type is int, default value in the docstring is None
In the doc:
* open() default value is None
The default value should be -1 everywhere. None is rejected by io.open (_io) and _pyio.open.
Attached patch fixes _io.open() docstring Python documentation. |
|
Date |
User |
Action |
Args |
2010-07-06 21:58:09 | vstinner | set | recipients:
+ vstinner, pitrou, docs@python |
2010-07-06 21:58:09 | vstinner | set | messageid: <1278453489.46.0.972678242141.issue9184@psf.upfronthosting.co.za> |
2010-07-06 21:58:07 | vstinner | link | issue9184 messages |
2010-07-06 21:58:07 | vstinner | create | |
|