deimos.python.setobject

Mirror setobject.h

Set object interface

Members

Functions

PyAnySet_Check
int PyAnySet_Check(PyObject* ob)

_

PyAnySet_CheckExact
int PyAnySet_CheckExact(PyObject* ob)

_

PyFrozenSet_Check
bool PyFrozenSet_Check(PyObject* ob)

Availability: >= 2.6

PyFrozenSet_CheckExact
int PyFrozenSet_CheckExact(PyObject* ob)

_

PyFrozenSet_New
PyObject* PyFrozenSet_New(PyObject*)

Availability: >= 2.5

PySet_Add
int PySet_Add(PyObject* set, PyObject* key)

Availability: >= 2.5

PySet_Check
bool PySet_Check(PyObject* ob)

Availability: >= 2.6

PySet_Clear
int PySet_Clear(PyObject* set)

Availability: >= 2.5

PySet_Contains
int PySet_Contains(PyObject* anyset, PyObject* key)

Availability: >= 2.5

PySet_Discard
int PySet_Discard(PyObject* set, PyObject* key)

Availability: >= 2.5

PySet_GET_SIZE
Py_ssize_t PySet_GET_SIZE(PyObject* so)

Availability: >= 2.5

PySet_New
PyObject* PySet_New(PyObject*)

Availability: >= 2.5

PySet_Pop
PyObject* PySet_Pop(PyObject* set)

Availability: >= 2.5

PySet_Size
Py_ssize_t PySet_Size(PyObject* anyset)

Availability: >= 2.5

_PySet_DebugMallocStats
void _PySet_DebugMallocStats(FILE* out_)

Availability: >= 3.2

_PySet_Next
int _PySet_Next(PyObject* set, Py_ssize_t* pos, PyObject** entry)

Availability: >= 2.5

_PySet_NextEntry
int _PySet_NextEntry(PyObject* set, Py_ssize_t* pos, PyObject** key, Py_hash_t* hash)

Availability: >= 2.5

_PySet_Update
int _PySet_Update(PyObject* set, PyObject* iterable)

Availability: >= 2.5

Manifest constants

PySet_MINSIZE
enum PySet_MINSIZE;

Availability: >= 2.5

Structs

PySetObject
struct PySetObject

This data structure is shared by set and frozenset objects.

setentry
struct setentry

Availability: >= 2.5

Meta