This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author abarnert
Recipients abarnert, docs@python
Date 2014-07-18.06:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405664717.39.0.472140939197.issue22004@psf.upfronthosting.co.za>
In-reply-to
Content
In at least one place in the io module documentation (io.IOBase.readline), and in the corresponding docstring, the newline parameter to open (and io.open, and io.Foo.__init__) is referred to as "newlines":

> The line terminator is always b'\n' for binary files; for text files, 
> the newlines argument to open() can be used to select the line 
> terminator(s) recognized.

(The newline parameter is closely related to the newlines attribute of the TextIOWrapper that gets created by the open call, but they're not the same thing, and I think were named differently intentionally.)
History
Date User Action Args
2014-07-18 06:25:17abarnertsetrecipients: + abarnert, docs@python
2014-07-18 06:25:17abarnertsetmessageid: <1405664717.39.0.472140939197.issue22004@psf.upfronthosting.co.za>
2014-07-18 06:25:17abarnertlinkissue22004 messages
2014-07-18 06:25:16abarnertcreate