PEP 308: Pep Update

Greg Ewing (using news.cis.dfn.de) me at privacy.net
Mon Mar 10 17:41:00 EST 2003


Bernhard Herzog wrote:
> "Greg Ewing (using news.cis.dfn.de)" <me at privacy.net> writes:
> 
>>A minor correction: "else" is not currently a reserved
> 
> AFAIK, it has always been a reserved word. How could it not be?

Sorry, brain failure. I must have been thinking of
"then", which has the unusual property of being a
reserved word in most other languages in which
"if" is also a reserved word, but not in Python.
And it features in some of the PEP 308 alternatives.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list