Back to index

python3.2  3.2.2
Classes | Defines | Typedefs | Functions | Variables
dictobject.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PyDictEntry
struct  _dictobject

Defines

#define PyDict_MINSIZE   8
#define PyDict_Check(op)   PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS)
#define PyDict_CheckExact(op)   (Py_TYPE(op) == &PyDict_Type)
#define PyDictKeys_Check(op)   (Py_TYPE(op) == &PyDictKeys_Type)
#define PyDictItems_Check(op)   (Py_TYPE(op) == &PyDictItems_Type)
#define PyDictValues_Check(op)   (Py_TYPE(op) == &PyDictValues_Type)
#define PyDictViewSet_Check(op)   (PyDictKeys_Check(op) || PyDictItems_Check(op))

Typedefs

typedef struct _dictobject

Functions

 PyAPI_DATA (PyTypeObject) PyDict_Type
 PyAPI_FUNC (PyObject *) PyDict_New(void)
 PyAPI_FUNC (int) PyDict_SetItem(PyObject *mp
 PyAPI_FUNC (void) PyDict_Clear(PyObject *mp)

Variables

PyObjectkey
PyObject PyObjectitem
Py_ssize_tpos
Py_ssize_t PyObject PyObject ** value
Py_ssize_t PyObject PyObject
Py_hash_t
hash
PyObjectother
PyObject int override
PyObjectseq2

Class Documentation

struct PyDictEntry

Definition at line 51 of file dictobject.h.

Collaboration diagram for PyDictEntry:
Class Members
Py_hash_t me_hash
PyObject * me_key
PyObject * me_value

Define Documentation

Definition at line 98 of file dictobject.h.

#define PyDict_CheckExact (   op)    (Py_TYPE(op) == &PyDict_Type)

Definition at line 100 of file dictobject.h.

#define PyDict_MINSIZE   8

Definition at line 49 of file dictobject.h.

#define PyDictItems_Check (   op)    (Py_TYPE(op) == &PyDictItems_Type)

Definition at line 102 of file dictobject.h.

#define PyDictKeys_Check (   op)    (Py_TYPE(op) == &PyDictKeys_Type)

Definition at line 101 of file dictobject.h.

#define PyDictValues_Check (   op)    (Py_TYPE(op) == &PyDictValues_Type)

Definition at line 103 of file dictobject.h.

Definition at line 105 of file dictobject.h.


Typedef Documentation

typedef struct _dictobject

Definition at line 67 of file dictobject.h.


Function Documentation

PyAPI_FUNC ( PyObject ) [read]

Definition at line 2431 of file pythonrun.c.

{
    return PyRun_FileExFlags(fp, p, s, g, l, c, NULL);
}
PyAPI_FUNC ( int  )

Definition at line 2410 of file pythonrun.c.

Definition at line 1904 of file object.c.


Variable Documentation

Definition at line 119 of file dictobject.h.

Definition at line 112 of file dictobject.h.

const char* key

Definition at line 110 of file dictobject.h.

Definition at line 135 of file dictobject.h.

Definition at line 143 of file dictobject.h.

Definition at line 116 of file dictobject.h.

Definition at line 152 of file dictobject.h.

Definition at line 116 of file dictobject.h.