A syntax idea for one-liners

Greg Ewing (using news.cis.dfn.de) g2h5dqi002 at sneakemail.com
Sun May 25 23:19:23 EDT 2003


Andrew Koenig wrote:
> In order to convince me that your proposal works, you will have to tell me
> how to distinguish your proposed syntax from cases already permitted by
> the Python syntax in which a : is followed by a statement on the same line.

It looks to me like Beni's extension would be compatible
with this -- nothing would need to be distinguished.

Can you think of anything that *wouldn't* work?

-- 
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