[Python-checkins] r53137 - python/trunk/Objects/dictnotes.txt
andrew.kuchling
python-checkins at python.org
Fri Dec 22 01:50:57 CET 2006
Author: andrew.kuchling
Date: Fri Dec 22 01:50:56 2006
New Revision: 53137
Modified:
python/trunk/Objects/dictnotes.txt
Log:
Typo fix
Modified: python/trunk/Objects/dictnotes.txt
==============================================================================
--- python/trunk/Objects/dictnotes.txt (original)
+++ python/trunk/Objects/dictnotes.txt Fri Dec 22 01:50:56 2006
@@ -44,7 +44,7 @@
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.
More information about the Python-checkins
mailing list