cpython: df2efd48227e (original) (raw)

Mercurial > cpython

changeset 88909:df2efd48227e

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

Antoine Pitrou solipsis@pitrou.net
date Sun, 02 Feb 2014 22:49:03 +0100
parents 0d3831bbc5f0(current diff)82cfab2ad98d(diff)
children b41ba99a276c
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 @@ -849,13 +849,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