Smalltak [RE: Whitespace as syntax (was Re: Python Rocks!)]

Fredrik Lundh effbot at telia.com
Mon Feb 14 02:49:58 EST 2000


Tim Peters <tim_one at email.msn.com> wrote:
> [Aahz Maruch]
> > Here's an interesting question that I don't think I've seen here:
> > given that the semicolon is not a significant character in Python,
> > why wasn't it chosen as the tuple creator?
>
> Python's tuple notation was inherited from ABC.  Python generalized it
> somewhat, but didn't fiddle.

otoh, the ABC quick reference at
http://www.cwi.nl/~steven/abc/qr.html
uses:

    {1; 2; 3}

</F>





More information about the Python-list mailing list