mirror of
https://github.com/python/cpython.git
synced 2025-11-24 20:30:18 +00:00
gh-141004: Document PyDict_GET_SIZE (GH-141078)
This commit is contained in:
parent
227f4abacd
commit
f0ab07f22c
1 changed files with 5 additions and 0 deletions
|
|
@ -245,6 +245,11 @@ Dictionary Objects
|
|||
``len(p)`` on a dictionary.
|
||||
|
||||
|
||||
.. c:function:: Py_ssize_t PyDict_GET_SIZE(PyObject *p)
|
||||
|
||||
Similar to :c:func:`PyDict_Size`, but without error checking.
|
||||
|
||||
|
||||
.. c:function:: int PyDict_Next(PyObject *p, Py_ssize_t *ppos, PyObject **pkey, PyObject **pvalue)
|
||||
|
||||
Iterate over all key-value pairs in the dictionary *p*. The
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue