gh-141004: Document PyDict_GET_SIZE (GH-141078)

This commit is contained in:
Peter Bierma 2025-11-05 17:32:12 -05:00 committed by GitHub
parent 227f4abacd
commit f0ab07f22c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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