Types
PyFrozenSetObject = ref object of PyObject items*: HashSet[PyObject] setHash*: bool privateHash*: Hash reprLock*: bool
- Source Edit
PySetObject = ref object of PyObject items*: HashSet[PyObject] reprLock*: bool readNum*: int writeLock*: bool
- Source Edit
Lets
pyFrozenSetObjectType {.inject.} = newPyType("frozenset", pyObjectType)
- Source Edit
pySetObjectType {.inject.} = newPyType("set", pyObjectType)
- Source Edit
Procs
proc addPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc clearPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc contains(self: PyFrozenSetObject; other: PyStrObject): bool {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc contains(self: PySetObject; other: PyStrObject): bool {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc containsOrIncl(self: PyFrozenSetObject; other: PyStrObject): bool {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc containsOrIncl(self: PySetObject; other: PyStrObject): bool {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc copyPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc copyPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc difference_updatePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc differencePyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc differencePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc discardPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc hash(self: PyFrozenSetObject): Hash {....raises: [DictError], tags: [RootEffect], forbids: [].}
- Source Edit
proc hashPyFrozenSetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc hashPySetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc incl(self: PyFrozenSetObject; other: PyStrObject) {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc incl(self: PySetObject; other: PyStrObject) {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc initPyFrozenSetObjectMagic(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc initPySetObjectMagic(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc interactionPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc interactionPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc intersection_updatePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc isdisjointPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc isdisjointPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc issubsetPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc issubsetPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc issupersetPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc issupersetPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc iterPyFrozenSetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc iterPySetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lenPyFrozenSetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lenPySetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyFrozenSet(): PyFrozenSetObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyFrozenSet(items: HashSet[PyObject]): PyFrozenSetObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyFrozenSet(items: openArray[PyObject]): PyFrozenSetObject {. ...raises: [DictError], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyFrozenSetSimple(): PyFrozenSetObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySet(): PySetObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySet(items: HashSet[PyObject]): PySetObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySet(items: openArray[PyObject]): PySetObject {....raises: [DictError], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPySetSimple(): PySetObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ofExactPyAnySet(x: PyObject): bool {....raises: [], tags: [], forbids: [].}
- PyAnySet_CheckExact Source Edit
proc ofExactPyFrozenSetObject(obj`gensym5: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofExactPySetObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyAnySet(x: PyObject): bool {....raises: [], tags: [], forbids: [].}
- PyAnySet_Check Source Edit
proc ofPyFrozenSetObject(obj`gensym5: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPySetObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc popPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc removePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc reprPyFrozenSetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc reprPySetObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc symmetric_difference_updatePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc symmetric_differencePyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc symmetric_differencePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {. cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc unionPyFrozenSetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc unionPySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc updatePySetObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
Iterators
iterator items(self: PyFrozenSetObject): PyObject {....raises: [], tags: [], forbids: [].}
- Source Edit
iterator items(self: PySetObject): PyObject {....raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template `[]`(self: PyFrozenSetObject; i: int): PyObject
- Source Edit
template `[]`(self: PySetObject; i: int): PyObject
- Source Edit
template len(self: PyFrozenSetObject): int
- Source Edit
template len(self: PySetObject): int
- Source Edit