commit | 17527bedad4ecf1c6479d0df1decd34baa5ef8a7 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Wed Jan 27 02:15:28 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Wed Jan 27 02:15:28 2010 +0000 |
tree | a32493c201a641390839d76abc57912b14a95571 | |
parent | 74c2577497dfdd63613bd705173dfac33325de27 [diff] [blame] |
for UserDict to be compatible with abcs, it must subclass object
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: