summaryrefslogtreecommitdiffstats
path: root/Lib/collections.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-09-12 02:11:45 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-09-12 02:11:45 (GMT)
commit2039753a9ab9d41375ba17877e231e8d53e17749 (patch)
tree7c4f94baaccf73c42db3720fb86de128642cabfa /Lib/collections.py
parenta1f74816f52707b5d8ea2735f4da22f8dc9396fc (diff)
downloadcpython-2039753a9ab9d41375ba17877e231e8d53e17749.zip
cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.gz
cpython-2039753a9ab9d41375ba17877e231e8d53e17749.tar.bz2
Issue #9825: Remove __del__() from OrderedDict.
Diffstat (limited to 'Lib/collections.py')
-rw-r--r--Lib/collections.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/collections.py b/Lib/collections.py
index 10c8903..b0c67a1 100644
--- a/Lib/collections.py
+++ b/Lib/collections.py
@@ -173,9 +173,6 @@ class OrderedDict(dict, MutableMapping):
all(_imap(_eq, self.iteritems(), other.iteritems()))
return dict.__eq__(self, other)
- def __del__(self):
- self.clear() # eliminate cyclical references
-
################################################################################
### namedtuple