diff options
author | Just van Rossum <just@letterror.com> | 2004-10-25 16:04:20 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2004-10-25 16:04:20 (GMT) |
commit | 10e52dbe28ffee90a6c0ff42a84f367ddc635789 (patch) | |
tree | 81cd1dd32301c450fe9d7a19821a4b9213a11af0 /Lib/plat-mac/plistlib.py | |
parent | afe73c02a98c1394ebfd0e4fb9acf644f71462a8 (diff) | |
download | cpython-10e52dbe28ffee90a6c0ff42a84f367ddc635789.zip cpython-10e52dbe28ffee90a6c0ff42a84f367ddc635789.tar.gz cpython-10e52dbe28ffee90a6c0ff42a84f367ddc635789.tar.bz2 |
Removed superfluous **kwargs constructor cruft: this class predates
the dict(**kwargs) feature.
Diffstat (limited to 'Lib/plat-mac/plistlib.py')
-rw-r--r-- | Lib/plat-mac/plistlib.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/plat-mac/plistlib.py b/Lib/plat-mac/plistlib.py index 044b298..5d6044e 100644 --- a/Lib/plat-mac/plistlib.py +++ b/Lib/plat-mac/plistlib.py @@ -258,14 +258,6 @@ class Dict(dict): to retrieve values, making d.foo equivalent to d["foo"]. """ - def __new__(cls, **kwargs): - self = dict.__new__(cls) - self.update(kwargs) - return self - - def __init__(self, **kwargs): - self.update(kwargs) - def __getattr__(self, attr): try: value = self[attr] |