python3: 'where' keyword

Nick Coghlan ncoghlan at
Sun Jan 9 06:23:14 EST 2005

Andrey Tatarinov wrote:
> sorry, I used "expression" carelessly.
> I mean that
>  >>> print words[3], words[5]
> is a single expression
> (and that would be in Python 3, when print would be subtituted with 
> write()/writeln()).

'statement' is the appropriate word in Python's grammar.

And I don't think we'd actually have to wait for Python 3 for this, we'd just 
have to do the __future__ dance in order to introduce the new keyword.


Nick Coghlan   |   ncoghlan at   |   Brisbane, Australia

More information about the Python-list mailing list