diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-01-27 02:15:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-01-27 02:15:28 (GMT) |
commit | 17527bedad4ecf1c6479d0df1decd34baa5ef8a7 (patch) | |
tree | a32493c201a641390839d76abc57912b14a95571 | |
parent | 74c2577497dfdd63613bd705173dfac33325de27 (diff) | |
download | cpython-17527bedad4ecf1c6479d0df1decd34baa5ef8a7.zip cpython-17527bedad4ecf1c6479d0df1decd34baa5ef8a7.tar.gz cpython-17527bedad4ecf1c6479d0df1decd34baa5ef8a7.tar.bz2 |
for UserDict to be compatible with abcs, it must subclass object
-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 0d9591a..df5f7fb 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: |