commit | bde67df0cd4de5e034c2cf4bd43c0d5657649942 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jun 22 18:09:02 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jun 22 18:09:02 2010 +0000 |
tree | 33b1ad6217fdcc079f6463fdcff033f73bf0edb1 | |
parent | 3ceab01cefa149ade3bed218e9c03ac791f0e8cc [diff] [blame] |
keep UserDict an old-style class Be generous in abc.py to allow this.
diff --git a/Lib/UserDict.py b/Lib/UserDict.py index bd64f84..bb2218a 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(object): +class UserDict: def __init__(self, dict=None, **kwargs): self.data = {} if dict is not None: