From: Benjamin Peterson Date: Mon, 11 Mar 2013 17:17:19 +0000 (-0500) Subject: fix spelling (#17327) X-Git-Tag: v3.4.0a1~1223 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37474f43f3b8a45aa2b7bd852596ba5696c54a9b;p=thirdparty%2FPython%2Fcpython.git fix spelling (#17327) --- diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index b91ecb69a1bc..1f599fee78f2 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -114,8 +114,8 @@ Dictionary Objects 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.