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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17527bedad4ecf1c6479d0df1decd34baa5ef8a7;p=python for UserDict to be compatible with abcs, it must subclass object --- diff --git a/Lib/UserDict.py b/Lib/UserDict.py index 0d9591a966..df5f7fbe49 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: