mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue 13870: Fix out of date comment.
This commit is contained in:
parent
6c89a79d55
commit
eaac4f0d30
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class OrderedDict(dict):
|
|||
# The circular doubly linked list starts and ends with a sentinel element.
|
||||
# The sentinel element never gets deleted (this simplifies the algorithm).
|
||||
# The sentinel is in self.__hardroot with a weakref proxy in self.__root.
|
||||
# The prev/next links are weakref proxies (to prevent circular references).
|
||||
# The prev links are weakref proxies (to prevent circular references).
|
||||
# Individual links are kept alive by the hard reference in self.__map.
|
||||
# Those hard references disappear when a key is deleted from an OrderedDict.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue