[Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Make TextIOWrapper's documentation clearer by copying the newline argument's

Chris Jerdonek chris.jerdonek at gmail.com
Sat Aug 4 17:41:33 CEST 2012


On Fri, Aug 3, 2012 at 3:59 PM, antoine.pitrou
<python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/f17a1410ebe5
> changeset:   78401:f17a1410ebe5
> summary:
>   Make TextIOWrapper's documentation clearer by copying the newline argument's description from open().

Now that this change is made, it may make sense to update the
subprocess documentation to reference TextIOWrapper's documentation
instead of open()'s (since use of the 'U' flag to open() is
discouraged in new code).

"All line endings will be converted to '\n' as described for the
universal newlines 'U' mode argument to open()."

(from http://docs.python.org/dev/library/subprocess.html#frequently-used-arguments
)

--Chris


More information about the Python-Dev mailing list