]> granicus.if.org Git - python/commitdiff
for UserDict to be compatible with abcs, it must subclass object
authorBenjamin Peterson <benjamin@python.org>
Wed, 27 Jan 2010 02:15:28 +0000 (02:15 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 27 Jan 2010 02:15:28 +0000 (02:15 +0000)
Lib/UserDict.py

index 0d9591a96675f3a745d3f42cbe035aaa30da418d..df5f7fbe49e16c466246abf6febc33e6f7663f2b 100644 (file)
@@ -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: