diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-03-11 17:17:19 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-03-11 17:17:19 (GMT) |
commit | 37474f43f3b8a45aa2b7bd852596ba5696c54a9b (patch) | |
tree | 0ddcaea45d1bb3c3d07fc5737cd9422d4886fcd8 /Doc/c-api | |
parent | 285581405d6f7bb789115efd28db37a90c814ed1 (diff) | |
download | cpython-37474f43f3b8a45aa2b7bd852596ba5696c54a9b.zip cpython-37474f43f3b8a45aa2b7bd852596ba5696c54a9b.tar.gz cpython-37474f43f3b8a45aa2b7bd852596ba5696c54a9b.tar.bz2 |
fix spelling (#17327)
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | 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 index b91ecb6..1f599fe 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. |