From 17527bedad4ecf1c6479d0df1decd34baa5ef8a7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 27 Jan 2010 02:15:28 +0000 Subject: [PATCH] for UserDict to be compatible with abcs, it must subclass object --- Lib/UserDict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/UserDict.py b/Lib/UserDict.py index 0d9591a9667..df5f7fbe49e 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: