[docs] [issue13510] Clarify that readlines() is not needed to iterate over a file

Antoine Pitrou report at bugs.python.org
Sun Apr 14 19:52:46 CEST 2013


Antoine Pitrou added the comment:

> I would actually remove the whole section about readlines() or
> possibly just mention it briefly (something like "If you want to read
> all the lines of a file in a list you can also use f.readlines().")
> The sizehint arg is rarely used, so I don't see the point of going in
> such details about it in the tutorial.

You are right, Ezio.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13510>
_______________________________________


More information about the docs mailing list