]> granicus.if.org Git - python/commitdiff
Fix typo in PyDict_SetDefault docs.
authorEzio Melotti <ezio.melotti@gmail.com>
Sun, 10 Mar 2013 18:57:16 +0000 (20:57 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Sun, 10 Mar 2013 18:57:16 +0000 (20:57 +0200)
Doc/c-api/dict.rst

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