summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-11 16:31:29 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-11 16:31:29 (GMT)
commit89fe665e38c57012f0fd7e9cb9e5cc924a083e6f (patch)
treeb551f965d3e21804d0484a0801f5a17a67490d03 /Doc/c-api
parenta41fb4be5bd6ecb931f53c86f255e7e9d185bbcb (diff)
downloadcpython-89fe665e38c57012f0fd7e9cb9e5cc924a083e6f.zip
cpython-89fe665e38c57012f0fd7e9cb9e5cc924a083e6f.tar.gz
cpython-89fe665e38c57012f0fd7e9cb9e5cc924a083e6f.tar.bz2
remove useless words (#17327)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/dict.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
index d1ce7be..6d3a0e8 100644
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -114,9 +114,9 @@ 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 *defaultobj*
- is inserted. This function evaluates the hash function of *key* only once,
- instead of evaluating it independently for the lookup and the insertion.
+ is not in the dict, it is inserted with value *defaultobj* and *defaultobj*.
+ This function evaluates the hash function of *key* only once, instead of
+ evaluating it independently for the lookup and the insertion.
.. c:function:: PyObject* PyDict_Items(PyObject *p)