python3: 'where' keyword

Nick Coghlan ncoghlan at iinet.net.au
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.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list