Commit eaac4f0d authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 13870: Fix out of date comment.

parent 6c89a79d
...@@ -33,7 +33,7 @@ class OrderedDict(dict): ...@@ -33,7 +33,7 @@ class OrderedDict(dict):
# The circular doubly linked list starts and ends with a sentinel element. # The circular doubly linked list starts and ends with a sentinel element.
# The sentinel element never gets deleted (this simplifies the algorithm). # The sentinel element never gets deleted (this simplifies the algorithm).
# The sentinel is in self.__hardroot with a weakref proxy in self.__root. # 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. # Individual links are kept alive by the hard reference in self.__map.
# Those hard references disappear when a key is deleted from an OrderedDict. # Those hard references disappear when a key is deleted from an OrderedDict.
......
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