Documentation, assignment in expression.

Roy Smith roy at panix.com
Fri Mar 23 21:37:40 EDT 2012


In article <4f6d0060$0$6634$9b4e6d93 at newsspool2.arcor-online.net>,
 Alexander Blinne <news at blinne.net> wrote:

> The last sentence "For example, in the current version of Python file 
> objects support the iterator protocol, so you can now write simply 
> (for line in file:)" ...

In general, words like "current", "previous", and "next" don't belong in 
documentation.  The timepoint to which they refer changes as soon as 
they're published.  Much better to say, "as of version x.y..."



More information about the Python-list mailing list