mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.13] gh-141004: Document PyDict_GET_SIZE (GH-141078) (GH-141083)
gh-141004: Document `PyDict_GET_SIZE` (GH-141078)
(cherry picked from commit f0ab07f22c)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
d29fe3f32c
commit
fc059dbe55
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