Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #34670 > unrolled thread
| Started by | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| First post | 2012-12-11 19:59 -0500 |
| Last post | 2012-12-11 19:59 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: ANNOUNCE: Thesaurus - a recursive dictionary subclass using attributes Mitya Sirenef <msirenef@lightbird.net> - 2012-12-11 19:59 -0500
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2012-12-11 19:59 -0500 |
| Subject | Re: ANNOUNCE: Thesaurus - a recursive dictionary subclass using attributes |
| Message-ID | <mailman.761.1355273950.29569.python-list@python.org> |
On 12/11/2012 07:53 PM, Mitya Sirenef wrote: > By the way, the Thesaurus class reminds me of using the old recipe > called 'Bunch': > > http://code.activestate.com/recipes/52308-the-simple-but-handy-collector-of-a-bunch-of-named/ > > > like this: > > b = Bunch(x=1) b.stuff = Bunch(y=2) > > b.stuff.y 2 Sorry, this was meant to be: b = Bunch(x=1) b.stuff = Bunch(y=2) b.stuff.y 2
Back to top | Article view | comp.lang.python
csiph-web