From eabc0e87af4a7b45f2e08e438b9d03ada2052080 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 22 Dec 2006 00:50:56 +0000 Subject: [PATCH] Typo fix --- Objects/dictnotes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/dictnotes.txt b/Objects/dictnotes.txt index b0e59a7f10..3b63197e79 100644 --- a/Objects/dictnotes.txt +++ b/Objects/dictnotes.txt @@ -44,7 +44,7 @@ Uniquification d.setdefault(word, []).append(pagenumber) Note, the second example is a use case characterized by a get and set - to the same key. There are similar used cases with a __contains__ + to the same key. There are similar use cases with a __contains__ followed by a get, set, or del to the same key. Part of the justification for d.setdefault is combining the two lookups into one. -- 2.50.1