Back to index

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

Go to the source code of this file.

Classes

struct  setentry
struct  _setobject

Defines

#define PySet_MINSIZE   8
#define PyFrozenSet_CheckExact(ob)   (Py_TYPE(ob) == &PyFrozenSet_Type)
#define PyAnySet_CheckExact(ob)   (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)
#define PyAnySet_Check(ob)
#define PySet_Check(ob)
#define PyFrozenSet_Check(ob)
#define PySet_GET_SIZE(so)   (((PySetObject *)(so))->used)

Typedefs

typedef struct _setobject

Functions

 PyAPI_DATA (PyTypeObject) PySet_Type
 PyAPI_FUNC (PyObject *) PySet_New(PyObject *)
 PyAPI_FUNC (Py_ssize_t) PySet_Size(PyObject *anyset)

Variables

PyObjectkey
Py_ssize_tpos
Py_ssize_t PyObject Py_hash_thash
PyObjectiterable

Class Documentation

struct setentry

Definition at line 24 of file setobject.h.

Collaboration diagram for setentry:
Class Members
Py_hash_t hash
PyObject * key

Define Documentation

#define PyAnySet_Check (   ob)
Value:
(Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type || \
      PyType_IsSubtype(Py_TYPE(ob), &PySet_Type) || \
      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))

Definition at line 75 of file setobject.h.

#define PyAnySet_CheckExact (   ob)    (Py_TYPE(ob) == &PySet_Type || Py_TYPE(ob) == &PyFrozenSet_Type)

Definition at line 73 of file setobject.h.

#define PyFrozenSet_Check (   ob)
Value:
(Py_TYPE(ob) == &PyFrozenSet_Type || \
      PyType_IsSubtype(Py_TYPE(ob), &PyFrozenSet_Type))

Definition at line 82 of file setobject.h.

#define PyFrozenSet_CheckExact (   ob)    (Py_TYPE(ob) == &PyFrozenSet_Type)

Definition at line 72 of file setobject.h.

#define PySet_Check (   ob)
Value:
(Py_TYPE(ob) == &PySet_Type || \
    PyType_IsSubtype(Py_TYPE(ob), &PySet_Type))

Definition at line 79 of file setobject.h.

#define PySet_GET_SIZE (   so)    (((PySetObject *)(so))->used)

Definition at line 90 of file setobject.h.

#define PySet_MINSIZE   8

Definition at line 22 of file setobject.h.


Typedef Documentation

typedef struct _setobject

Definition at line 35 of file setobject.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);
}

Definition at line 2410 of file pythonrun.c.


Variable Documentation

Definition at line 97 of file setobject.h.

Definition at line 101 of file setobject.h.

Definition at line 93 of file setobject.h.

Definition at line 97 of file setobject.h.