[Python-3000] Ordered mapping type for Python 3000? (original) (raw)
Josiah Carlson jcarlson at uci.edu
Wed Mar 28 00:42:54 CEST 2007
- Previous message: [Python-3000] Ordered mapping type for Python 3000?
- Next message: [Python-3000] Ordered mapping type for Python 3000?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"BJörn Lindqvist" <bjourne at gmail.com> wrote:
col = attrtuple(r = 255, g = 0, b = 128) r, g, b = col
That is handled reasonably well with Raymond's recipe (or variants thereof).
el = makeel('input', type = 'text', class = 'query')
XML elements are not ordering sensitive.
Or interface easier with tabular, order-dependent data.
That is handled with the ordered dictionary and metaclass sytax PEP.
- Josiah
- Previous message: [Python-3000] Ordered mapping type for Python 3000?
- Next message: [Python-3000] Ordered mapping type for Python 3000?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]