1. mirror
  2. cpython

Commits

Benjamin Peterson  committed 89174df

remove useless words (#17327)

  • Participants
  • Parent commits b10a9d4
  • Branches default

Comments (0)

Files changed (1)

File Doc/c-api/dict.rst

View file
  • Ignore whitespace
 
    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)