From: Benjamin Peterson Date: Wed, 27 Jan 2010 02:15:28 +0000 (+0000) Subject: for UserDict to be compatible with abcs, it must subclass object X-Git-Tag: v2.7a3~76 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17527bedad4ecf1c6479d0df1decd34baa5ef8a7;p=thirdparty%2FPython%2Fcpython.git for UserDict to be compatible with abcs, it must subclass object --- diff --git a/Lib/UserDict.py b/Lib/UserDict.py index 0d9591a96675..df5f7fbe49e1 100644 --- a/Lib/UserDict.py +++ b/Lib/UserDict.py @@ -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: