summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/plistlib.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2004-10-25 16:04:20 (GMT)
committerJust van Rossum <just@letterror.com>2004-10-25 16:04:20 (GMT)
commit10e52dbe28ffee90a6c0ff42a84f367ddc635789 (patch)
tree81cd1dd32301c450fe9d7a19821a4b9213a11af0 /Lib/plat-mac/plistlib.py
parentafe73c02a98c1394ebfd0e4fb9acf644f71462a8 (diff)
downloadcpython-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.py8
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]