mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
PyDict_Next: update doc to indicate that pkey and pvalue return values are
borrowed references.
This commit is contained in:
parent
a23bc42ad5
commit
ea3ceaa913
1 changed files with 2 additions and 1 deletions
|
|
@ -1779,7 +1779,8 @@ format.
|
||||||
dictionary, and false once all pairs have been reported. The
|
dictionary, and false once all pairs have been reported. The
|
||||||
parameters \var{pkey} and \var{pvalue} should either point to
|
parameters \var{pkey} and \var{pvalue} should either point to
|
||||||
\ctype{PyObject*} variables that will be filled in with each key and
|
\ctype{PyObject*} variables that will be filled in with each key and
|
||||||
value, respectively, or may be \NULL.
|
value, respectively, or may be \NULL. Any references returned through
|
||||||
|
them are borrowed.
|
||||||
|
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue