[Python-checkins] cpython: fix spelling (#17327)

benjamin.peterson python-checkins at python.org
Mon Mar 11 18:17:32 CET 2013


http://hg.python.org/cpython/rev/f6f39ebd3121
changeset:   82607:f6f39ebd3121
user:        Benjamin Peterson <benjamin at python.org>
date:        Mon Mar 11 12:17:19 2013 -0500
summary:
  fix spelling (#17327)

files:
  Doc/c-api/dict.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -114,8 +114,8 @@
 
    This is the same as the Python-level :meth:`dict.setdefault`.  If present, it
    returns the value corresponding to *key* from the dictionary *p*.  If the key
-   is not in the dict, it is inserted with value *defaultobj* and *defautobj* is
-   returned.  This function evaluates the hash function of *key* only once,
+   is not in the dict, it is inserted with value *defaultobj* and *defaultobj*
+   is returned.  This function evaluates the hash function of *key* only once,
    instead of evaluating it independently for the lookup and the insertion.
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list