Back to index

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

Go to the source code of this file.


struct  PyTupleObject


#define PyTuple_Check(op)   PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_TUPLE_SUBCLASS)
#define PyTuple_CheckExact(op)   (Py_TYPE(op) == &PyTuple_Type)
#define PyTuple_GET_ITEM(op, i)   (((PyTupleObject *)(op))->ob_item[i])
#define PyTuple_GET_SIZE(op)   Py_SIZE(op)
#define PyTuple_SET_ITEM(op, i, v)   (((PyTupleObject *)(op))->ob_item[i] = v)


 PyAPI_DATA (PyTypeObject) PyTuple_Type
 PyAPI_FUNC (PyObject *) PyTuple_New(Py_ssize_t size)
 PyAPI_FUNC (Py_ssize_t) PyTuple_Size(PyObject *)
 PyAPI_FUNC (void) _PyTuple_MaybeUntrack(PyObject *)



Class Documentation

struct PyTupleObject

Definition at line 25 of file tupleobject.h.

Collaboration diagram for PyTupleObject:
Class Members
PyObject_VAR_HEAD PyObject * ob_item

Define Documentation

Definition at line 39 of file tupleobject.h.

#define PyTuple_CheckExact (   op)    (Py_TYPE(op) == &PyTuple_Type)

Definition at line 41 of file tupleobject.h.

#define PyTuple_GET_ITEM (   op,
)    (((PyTupleObject *)(op))->ob_item[i])

Definition at line 58 of file tupleobject.h.

#define PyTuple_GET_SIZE (   op)    Py_SIZE(op)

Definition at line 59 of file tupleobject.h.

#define PyTuple_SET_ITEM (   op,
)    (((PyTupleObject *)(op))->ob_item[i] = v)

Definition at line 62 of file tupleobject.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 ( Py_ssize_t  ) [read]

Definition at line 2410 of file pythonrun.c.

Definition at line 1904 of file object.c.

Variable Documentation

Definition at line 45 of file tupleobject.h.