[Python-3000] sets in P3K?
Georg Brandl
g.brandl at gmx.net
Thu Apr 27 12:42:49 CEST 2006
Kay Schluehr wrote:
> Talin schrieb:
>
>>A set with no elements is:
>>
>> set()
>>
>>Alternatively, you could take the tuple idea one step further:
>>
>> {,}
>>
>>
> If you want to simulate the mathematical notion of an empty set I would
> say that {/} has a stronger mnemonic appeal.
It also has a strong feeling of arbitraryness.
> Furthermore: what about notions of infinite sets?
Can you elaborate on that?
Georg
More information about the Python-3000
mailing list