From ec5046b76b834a2c8f7112b25a7da19667a8e2b3 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Tue, 20 Nov 2012 21:11:26 -0800 Subject: [PATCH] Fit nit: the return got dropped from an earlier check-in --- Lib/collections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/collections.py b/Lib/collections.py index ba6d7caf62..1364a02588 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]' -- 2.40.0