Documentation, assignment in expression.

Roy Smith roy at
Sat Mar 24 02:37:40 CET 2012

In article <4f6d0060$0$6634$9b4e6d93 at>,
 Alexander Blinne <news at> 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