mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
remove useless words (#17327)
This commit is contained in:
parent
a41fb4be5b
commit
89fe665e38
1 changed files with 3 additions and 3 deletions
|
|
@ -114,9 +114,9 @@ Dictionary Objects
|
||||||
|
|
||||||
This is the same as 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
|
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 not in the dict, it is inserted with value *defaultobj* and *defaultobj*.
|
||||||
is inserted. This function evaluates the hash function of *key* only once,
|
This function evaluates the hash function of *key* only once, instead of
|
||||||
instead of evaluating it independently for the lookup and the insertion.
|
evaluating it independently for the lookup and the insertion.
|
||||||
|
|
||||||
|
|
||||||
.. c:function:: PyObject* PyDict_Items(PyObject *p)
|
.. c:function:: PyObject* PyDict_Items(PyObject *p)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue