diff options
author | Raymond Hettinger <python@rcn.com> | 2012-11-21 05:11:26 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-11-21 05:11:26 (GMT) |
commit | ec5046b76b834a2c8f7112b25a7da19667a8e2b3 (patch) | |
tree | 18d27c0160c2f42d20e7a69057138a77f3d74433 /Lib/collections.py | |
parent | b83ea144ccf39e2c9346d3a53cf67e154d29b4cb (diff) | |
download | cpython-ec5046b76b834a2c8f7112b25a7da19667a8e2b3.zip cpython-ec5046b76b834a2c8f7112b25a7da19667a8e2b3.tar.gz cpython-ec5046b76b834a2c8f7112b25a7da19667a8e2b3.tar.bz2 |
Fit nit: the return got dropped from an earlier check-in
Diffstat (limited to 'Lib/collections.py')
-rw-r--r-- | Lib/collections.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/collections.py b/Lib/collections.py index ba6d7ca..1364a02 100644 --- a/Lib/collections.py +++ b/Lib/collections.py @@ -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]' |