[Python-checkins] cpython: remove more useless words
benjamin.peterson
python-checkins at python.org
Mon Mar 11 17:36:07 CET 2013
http://hg.python.org/cpython/rev/606bc9d21337
changeset: 82605:606bc9d21337
user: Benjamin Peterson <benjamin at python.org>
date: Mon Mar 11 11:35:47 2013 -0500
summary:
remove more useless words
files:
Doc/c-api/dict.rst | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -114,9 +114,9 @@
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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list