commit | c760e86184b9ff269e5c0f00ac374665224cde5f | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jan 28 01:31:13 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jan 28 01:31:13 2010 +0000 |
tree | f47adaa67cf9d56326cf2b95e52bbc2e8c2adcff | |
parent | ca5a06aaa968ae767329f8afedbaf17fc337416f [diff] [blame] |
revert r77790. it requires a new-style class change
diff --git a/Lib/UserDict.py b/Lib/UserDict.py index df5f7fb..0d9591a 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: