mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
Fit nit: the return got dropped from an earlier check-in
This commit is contained in:
parent
b83ea144cc
commit
ec5046b76b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class OrderedDict(dict):
|
|||
root = self.__root
|
||||
last = root[PREV]
|
||||
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__):
|
||||
'od.__delitem__(y) <==> del od[y]'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue