Greg Wilson wrote:
>> A set with no elements is:
>>    set()
> 
> I prefer Guido's earlier suggestion of {/} for the empty set (assuming no
> parsing ambiguities?):

I believe the leading '{' should be enough to clue the parser in to what's 
going on (i.e. '{/<anything>' is currently a syntax error)

I think I'm a convert - +1 for set literals, with {/} for the empty set.

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to