fix spelling (#17327)

This commit is contained in:
Benjamin Peterson 2013-03-11 12:17:19 -05:00
parent 285581405d
commit 37474f43f3
1 changed files with 2 additions and 2 deletions

View File

@ -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.