Go to the documentation of this file. 1 #ifndef Py_DICTOBJECT_H
2 #define Py_DICTOBJECT_H
48 #define PyDict_MINSIZE 8
99 #define PyDict_Check(op) \
100 PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
101 #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)
102 #define PyDictKeys_Check(op) (Py_TYPE(op) == &PyDictKeys_Type)
103 #define PyDictItems_Check(op) (Py_TYPE(op) == &PyDictItems_Type)
104 #define PyDictValues_Check(op) (Py_TYPE(op) == &PyDictValues_Type)
106 # define PyDictViewSet_Check(op) \
107 (PyDictKeys_Check(op) || PyDictItems_Check(op))
Copyright 2014 Google Inc. All rights reserved.