mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Note that \var{ppos} values are not consecutive and should not be altered.
This commit is contained in:
parent
438e02dfc8
commit
5469324cde
1 changed files with 3 additions and 1 deletions
|
@ -1896,7 +1896,9 @@ format.
|
|||
parameters \var{pkey} and \var{pvalue} should either point to
|
||||
\ctype{PyObject*} variables that will be filled in with each key and
|
||||
value, respectively, or may be \NULL. Any references returned through
|
||||
them are borrowed.
|
||||
them are borrowed. \var{ppos} should not be altered during iteration.
|
||||
Its value represents offsets within the internal dictionary structure,
|
||||
and since the structure is sparse, the offsets are not consecutive.
|
||||
|
||||
For example:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue