Objects/tupleobject

Source   Edit  

Procs

proc containsPyTupleObjectMagic(selfNoCast: PyObject; other: PyObject): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc isPyTrueObj(obj: PyObject): bool {....raises: [], tags: [], forbids: [].}
inner Source   Edit  
proc lenPyTupleObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc reprPyTupleObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc tupleSeqToString(ss: openArray[UnicodeVariant]): UnicodeVariant {.
    ...raises: [], tags: [], forbids: [].}
inner one-element tuple must be out as "(1,)" Source   Edit  

Iterators

iterator items(self: PyTupleObject): PyObject {....raises: [], tags: [],
    forbids: [].}
Source   Edit  

Templates

template `[]`(self: PyTupleObject; i: int): PyObject
Source   Edit  
template genCollectMagics(items, implNameMagic, ofPyNameObject, PyNameObject,
                          mutRead, mutReadRepr, seqToStr) {.dirty.}
Source   Edit  
template len(self: PyTupleObject): int
Source   Edit