[docs] bug: 'io' module documentation does not specify if readline() keeps the newline terminator
Mátyás Selmeci
matyas at cs.wisc.edu
Thu Sep 4 18:21:37 CEST 2014
Hi,
I can't tell from reading the library reference whether doing
line = file.readline()
or
for line in file:
puts the newline terminator (if there is one) in 'line' or not.
The file object documentation in the Python 2 docs does specify this,
but that has been removed in Python 3.
Could someone take a look?
Thanks,
-Mat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3521 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/docs/attachments/20140904/b0879caf/attachment.bin>
More information about the docs
mailing list