summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-11 11:35:47 -0500
committerBenjamin Peterson <benjamin@python.org>2013-03-11 11:35:47 -0500
commitc897e6b4901dffe7207e52a2bf15a33132db328d (patch)
treefb499515c4e564e8b3892ca597a17284495d0331
parentbea84dc33b59ccd592ae8682ba8063b6cdce0303 (diff)
downloadcpython-c897e6b4901dffe7207e52a2bf15a33132db328d.tar.gz
remove more useless words
-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 6d3a0e8c25..2b4ac8e089 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*.
- 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*. 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)