Searched refs:flat_dictionary (Results 1 – 1 of 1) sorted by relevance
87 PyObject* flat_dictionary = PyDict_New(); in FlattenDictItems() local109 Py_DecRef(flat_dictionary); in FlattenDictItems()115 if (PyDict_GetItem(flat_dictionary, flat_key) != nullptr) { in FlattenDictItems()122 Py_DecRef(flat_dictionary); in FlattenDictItems()125 PyDict_SetItem(flat_dictionary, flat_key, flat_value); in FlattenDictItems()128 if (PyDict_GetItem(flat_dictionary, key) != nullptr) { in FlattenDictItems()135 Py_DecRef(flat_dictionary); in FlattenDictItems()138 PyDict_SetItem(flat_dictionary, key, value); in FlattenDictItems()143 return flat_dictionary; in FlattenDictItems()