cpython: 82cfab2ad98d (original) (raw)

Mercurial > cpython

changeset 88907:82cfab2ad98d 3.3

Issue #20423: fix documentation of io.StringIO's newline parameter [#20423]

Antoine Pitrou solipsis@pitrou.net
date Sun, 02 Feb 2014 22:48:25 +0100
parents e6363a42a9f0
children df2efd48227e 5fbe155e62b0
files Doc/library/io.rst
diffstat 1 files changed, 3 insertions(+), 2 deletions(-)[+] [-] Doc/library/io.rst 5

line wrap: on

line diff

--- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -844,13 +844,14 @@ Text I/O Whether line buffering is enabled. -.. class:: StringIO(initial_value='', newline=None) +.. class:: StringIO(initial_value='', newline='\n') An in-memory stream for text I/O. The initial value of the buffer (an empty string by default) can be set by providing initial_value. The newline argument works like that of