![]() |
Re: ANNOUNCE: Thesaurus - a recursive dictionary subclass usingattributes
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/...unch-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 |
| All times are GMT. The time now is 03:14 AM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.