Message223398
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.) |
|
Date |
User |
Action |
Args |
2014-07-18 06:25:17 | abarnert | set | recipients:
+ abarnert, docs@python |
2014-07-18 06:25:17 | abarnert | set | messageid: <1405664717.39.0.472140939197.issue22004@psf.upfronthosting.co.za> |
2014-07-18 06:25:17 | abarnert | link | issue22004 messages |
2014-07-18 06:25:16 | abarnert | create | |
|