Commit 0ec8f48b authored by Raymond Hettinger's avatar Raymond Hettinger

Remove steps no longer needed once __del__ was removed

parent ec5046b7
......@@ -91,8 +91,6 @@ class OrderedDict(dict):
def clear(self):
'od.clear() -> None. Remove all items from od.'
for node in self.__map.itervalues():
del node[:]
root = self.__root
root[:] = [root, root, None]
self.__map.clear()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment