Commit ec5046b7 authored by Raymond Hettinger's avatar Raymond Hettinger

Fit nit: the return got dropped from an earlier check-in

parent b83ea144
...@@ -58,7 +58,7 @@ class OrderedDict(dict): ...@@ -58,7 +58,7 @@ class OrderedDict(dict):
root = self.__root root = self.__root
last = root[PREV] last = root[PREV]
last[NEXT] = root[PREV] = self.__map[key] = [last, root, key] last[NEXT] = root[PREV] = self.__map[key] = [last, root, key]
dict_setitem(self, key, value) return dict_setitem(self, key, value)
def __delitem__(self, key, PREV=0, NEXT=1, dict_delitem=dict.__delitem__): def __delitem__(self, key, PREV=0, NEXT=1, dict_delitem=dict.__delitem__):
'od.__delitem__(y) <==> del od[y]' 'od.__delitem__(y) <==> del od[y]'
......
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