[Python-Dev] syntactic support for sets (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Fri Feb 3 13:10:33 CET 2006
- Previous message: [Python-Dev] syntactic support for sets
- Next message: [Python-Dev] syntactic support for sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Donovan Baarda wrote:
For Python 3000 you could extend this approach to lists and dicts; [1,2,3] is a list, f[1,2,3] is a "frozen list" or tuple, {1:'a',2:'b'} is a dict, f{1:'a',2:'b'} is a "frozen dict" which can be used as a key in other dicts... etc.
Traceback (most recent call last): File "pythondev.py", line 219, in monitor HyperGeneralizationViolationError: please let your brain cool down before proceeding
- Previous message: [Python-Dev] syntactic support for sets
- Next message: [Python-Dev] syntactic support for sets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]