[Python-checkins] r77788 - python/trunk/Lib/UserDict.py

benjamin.peterson python-checkins at python.org
Wed Jan 27 03:15:29 CET 2010


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:


More information about the Python-checkins mailing list