diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-01-27 02:15:28 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-01-27 02:15:28 +0000 |
commit | 17527bedad4ecf1c6479d0df1decd34baa5ef8a7 (patch) | |
tree | a32493c201a641390839d76abc57912b14a95571 /Lib/UserDict.py | |
parent | 74c2577497dfdd63613bd705173dfac33325de27 (diff) | |
download | cpython-git-17527bedad4ecf1c6479d0df1decd34baa5ef8a7.tar.gz |
for UserDict to be compatible with abcs, it must subclass object
Diffstat (limited to 'Lib/UserDict.py')
-rw-r--r-- | Lib/UserDict.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |