Jean-Michel Fauth <wxjmfa...@gmail.com> added the comment:
2010/6/4 R. David Murray <rep...@bugs.python.org>
>
> R. David Murray <rdmur...@bitdance.com> added the comment:
>
> This is as documented:
>
> http://docs.python.org/dev/3.0/library/io.html#io.TextIOBase.newlines
>
> The keyword argument is named 'newline', the attribute is named 'newlines'.
> The attribute does not record what was passed to the newline argument,
> rather it records what newlines have been actually encountered.
>
Ok, I see. I read, reread the doc prior posting, and, in my mind, it is not
obvious to understand this subtle difference from the doc.
Sorry for the noise.
Regards.
----------
Added file: http://bugs.python.org/file17549/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8895>
_______________________________________
<br><br><div class="gmail_quote">2010/6/4 R. David Murray <span
dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span><br><blockquote
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid
rgb(204, 204, 204); padding-left: 1ex;">
<br>
R. David Murray <<a
href="mailto:rdmur...@bitdance.com">rdmur...@bitdance.com</a>> added the
comment:<br>
<br>
This is as documented:<br>
<br>
 <a
href="http://docs.python.org/dev/3.0/library/io.html#io.TextIOBase.newlines"
target="_blank">http://docs.python.org/dev/3.0/library/io.html#io.TextIOBase.newlines</a><br>
<br>
The keyword argument is named 'newline', the attribute is named
'newlines'. Â The attribute does not record what was passed to the
newline argument, rather it records what newlines have been actually
encountered.<br>
</blockquote></div><br>Ok, I see. I read, reread the doc prior posting, and, in
my mind, it is not obvious to understand this subtle difference from the
doc.<br>Sorry for the noise.<br>Regards.<br><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com