]> granicus.if.org Git - python/commitdiff
remove useless words (#17327)
authorBenjamin Peterson <benjamin@python.org>
Mon, 11 Mar 2013 16:31:29 +0000 (11:31 -0500)
committerBenjamin Peterson <benjamin@python.org>
Mon, 11 Mar 2013 16:31:29 +0000 (11:31 -0500)
Doc/c-api/dict.rst

index d1ce7be020b041cfccc0a757e5edf8f33955d27c..6d3a0e8c25a0e7468e01515dcb19ad11722f042c 100644 (file)
@@ -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)