Jan. 26, 2010
8:15 p.m.
Author: benjamin.peterson Date: Wed Jan 27 03:15:28 2010 New Revision: 77788 Log: for UserDict to be compatible with abcs, it must subclass object Modified: python/trunk/Lib/UserDict.py Modified: python/trunk/Lib/UserDict.py ============================================================================== --- python/trunk/Lib/UserDict.py (original) +++ python/trunk/Lib/UserDict.py Wed Jan 27 03:15:28 2010 @@ -1,6 +1,6 @@ """A more or less complete user-defined wrapper around dictionary objects.""" -class UserDict: +class UserDict(object): def __init__(self, dict=None, **kwargs): self.data = {} if dict is not None:
5481
Age (days ago)
5481
Last active (days ago)
0 comments
1 participants
participants (1)
-
benjamin.peterson