Types
PyListObject = ref object of PyObject items*: seq[PyObject] reprLock*: bool readNum*: int writeLock*: bool
- Source Edit
Lets
pyListObjectType {.inject.} = newPyType("list", pyObjectType)
- Source Edit
Procs
proc `[]=`(self: PyListObject; i: HSlice; v: seq[PyObject]) {.inline.}
- Source Edit
proc `[]=`(self: PyListObject; i: int; v: PyObject) {.inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc add(self: PyListObject; o: PyObject) {....raises: [], tags: [], forbids: [].}
- Source Edit
proc aintPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc appendPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc clearPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc copyPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc countPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc doclearPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc doreadPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc extendPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc hashPyListObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc helloPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc indexPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc initPyListObjectMagic(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc insertPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc iterPyListObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc lenPyListObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyList(): PyListObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyList(items: openArray[PyObject]): PyListObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyList(items: seq[PyObject]): PyListObject {....raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc newPyList(len: int): PyListObject {....raises: [], tags: [RootEffect], forbids: [].}
- PyList_New Source Edit
proc newPyListSimple(): PyListObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc ofExactPyListObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc ofPyListObject(obj`gensym0: PyObject): bool {.cdecl, inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
proc popPyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc removePyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc reprPyListObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
proc reversePyListObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): PyObject {.cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
- Source Edit
Iterators
iterator items(self: PyListObject): PyObject {....raises: [], tags: [], forbids: [].}
- Source Edit
iterator pairs(self: PyListObject): (int, PyObject) {....raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template `[]`(self: PyListObject; i: int): PyObject
- Source Edit
template genMutableSequenceMethods(mapper, unmapper, S, Ele, beforeAppend) {. dirty.}
- beforeAppend body will be inserted before append method's implementation Source Edit
template len(self: PyListObject): int
- Source Edit