Re: ANNOUNCE: Thesaurus - a recursive dictionary subclass usingattributes
On Tue, Dec 11, 2012 at 2:53 PM, Ian Kelly <firstname.lastname@example.org> wrote:
> and then I ran the examples, and the output was unchanged. As Steven
> pointed out, I don't see how that first branch could succeed anyway,
> since self.data is never defined.
It occurs to me that the UserDict class does have a data attribute.
Perhaps there was another version of Thesaurus that inherited from
UserDict instead of dict, and so the access to .data is a holdover
from legacy code?
|All times are GMT. The time now is 11:33 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.