PyDictObject

  1. struct PyDictObject
    version(Python_3_4_Or_Later)
    struct PyDictObject {
    PyDictKeysObject* ma_keys;
    }
  2. struct PyDictObject

Members

Variables

ma_used
Py_ssize_t ma_used;

number of items in the dictionary

ma_values
PyObject** ma_values;

If ma_values is NULL, the table is "combined": keys and values are stored in ma_keys.

ma_version_tag
ulong ma_version_tag;

Dictionary version: globally unique, value change each time the dictionary is modified

Meta