mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Remove steps no longer needed once __del__ was removed
This commit is contained in:
parent
ec5046b76b
commit
0ec8f48b99
1 changed files with 0 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue