Objects/tupleobjectImpl

Search:
Group by:
Source   Edit  

Procs

proc addPyTupleObjectMagic(selfNoCast: PyObject; other: PyObject): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc countPyTupleObjectMethod(selfNoCast: PyObject;
                              args: openArray[PyObject] = @[];
                              kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc eqPyTupleObjectMagic(selfNoCast: PyObject; other: PyObject): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc getitemPyTupleObjectMagic(selfNoCast: PyObject; other: PyObject): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc hash(self: PyTupleObject): Hash {....raises: [DictError], tags: [RootEffect],
                                       forbids: [].}
Source   Edit  
proc hashCollection[T: PyObject](self: T): Hash
Source   Edit  
proc hashPyTupleObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc indexPyTupleObjectMethod(selfNoCast: PyObject;
                              args: openArray[PyObject] = @[];
                              kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc initPyTupleObjectMagic(selfNoCast: PyObject;
                            args: openArray[PyObject] = @[];
                            kwargs: PyKwArgType = nil): PyObject {.cdecl,
    ...raises: [], tags: [RootEffect], forbids: [].}
Source   Edit  
proc iterPyTupleObjectMagic(selfNoCast: PyObject): PyObject {.cdecl, ...raises: [],
    tags: [RootEffect], forbids: [].}
Source   Edit  
proc mulPyTupleObjectMagic(selfNoCast: PyObject; other: PyObject): PyObject {.
    cdecl, ...raises: [], tags: [RootEffect, WriteIOEffect], forbids: [].}
Source   Edit  
proc times[T](s: openArray[T]; n: int): seq[T]
Source   Edit  

Iterators

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

Templates

template genGetitem(nameStr, implNameMagic, newPyName, mutRead;
                    getter: untyped = `[]`) {.dirty.}
Source   Edit  
template genSequenceMagics(nameStr, implNameMagic, implNameMethod;
                           ofPyNameObject, PyNameObject, newPyName;
                           mutRead, mutReadRepr; seqToStr;
                           initWithDictUsingPairs = false): untyped {.dirty.}
Source   Edit  
template hashCollectionImpl(items; hashForEmpty): Hash
Source   Edit  
template withSetitem(self: PyTupleObject; acc; body)
unstable. take place of PyTuple_SetItem Source   Edit