summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/dict.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-03-10 18:57:16 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-03-10 18:57:16 (GMT)
commitfc5c5320a0de0724d692e05b5f08aaed3fce03c8 (patch)
treebe06d45ded2ec8ee0fff8f4d2427a71920d8a6bc /Doc/c-api/dict.rst
parent6584a1e72c0aa4fa4ed7068625cfa4d3f164071a (diff)
downloadcpython-fc5c5320a0de0724d692e05b5f08aaed3fce03c8.zip
cpython-fc5c5320a0de0724d692e05b5f08aaed3fce03c8.tar.gz
cpython-fc5c5320a0de0724d692e05b5f08aaed3fce03c8.tar.bz2
Fix typo in PyDict_SetDefault docs.
Diffstat (limited to 'Doc/c-api/dict.rst')
-rw-r--r--Doc/c-api/dict.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst
index dc8ef53..d1ce7be 100644
--- a/Doc/c-api/dict.rst
+++ b/Doc/c-api/dict.rst
@@ -112,7 +112,7 @@ Dictionary Objects
.. c:function:: PyObject* PyDict_SetDefault(PyObject *p, PyObject *key, PyObject *default)
- This is the same the Python-level :meth:`dict.setdefault`. If present, it
+ 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,