[Python-3000] sets in P3K? (original) (raw)
Georg Brandl g.brandl at gmx.net
Thu Apr 27 12:42:49 CEST 2006
- Previous message: [Python-3000] sets in P3K?
- Next message: [Python-3000] sets in P3K?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] sets in P3K?
- Next message: [Python-3000] sets in P3K?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]