mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
parent
58f7c5a955
commit
a4348cc1be
3 changed files with 51 additions and 3 deletions
|
@ -22,8 +22,17 @@ typedef struct _dictkeysobject PyDictKeysObject;
|
|||
*/
|
||||
typedef struct {
|
||||
PyObject_HEAD
|
||||
|
||||
/* Number of items in the dictionary */
|
||||
Py_ssize_t ma_used;
|
||||
|
||||
PyDictKeysObject *ma_keys;
|
||||
|
||||
/* If ma_values is NULL, the table is "combined": keys and values
|
||||
are stored in ma_keys (and ma_keys->dk_refcnt == 1).
|
||||
|
||||
If ma_values is not NULL, the table is splitted:
|
||||
keys are stored in ma_keys and values are stored in ma_values */
|
||||
PyObject **ma_values;
|
||||
} PyDictObject;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue