Procs
proc countPyTupleObjectMethod(selfNoCast: PyObject; args: openArray[PyObject] = @[]; kwargs: PyKwArgType = nil): 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
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
Exports
-
bltinTypes, tpMethod, pyObjectType, TernaryMethod, PyTypeToken, id, tpMagic, getDict, checkTypeOrRetTE, callInplaceMagic, genProperty, checkTypeOrRetTE, reprPyTupleObjectMagic, magicNames, allowSelfReadWhenBeforeRealWrite, toTypeObject, typeToAnyKind, initPyMemberDef, getNameAndArgTypes, =trace, callMagic, @, PyTypeObject, PyKwArgType, UnaryMethod, getDictUnsafe, forMro, callMagic, pyCFuncPragma, =wasMoved, methodMacroTmpl, PyObjectObj, callOnceFinalizerFromDealloc, newPyTuple, bltinFuncParams, ==, initRtArray, pairs, forMroNoSelf, iterMro, initRtArray, toObjSeq, RtArray, pyDestructorPragma, tupleSeqToString, isPyTrueObj, newPyTupleSimple, getRORawData, idStr, mutable, containsPyTupleObjectMagic, BltinFunc, checkTypeOrRetTE, reprLockWithMsgExpr, tp_free, ofExactPyTupleObject, registerBltinMethod, len, =copy, PyTupleObject, PyTuple_Pack, callMagic, PyTuple_Collect, Py_IS, callTpDel, BltinMethodDef, typeName, [], implMethod, len, destructor, $, newPyType, lenPyTupleObjectMagic, checkArgTypes, BinaryMethod, items, tpSetter, isClass, ofPyTupleObject, newPyTuple, registerBltinMethod, Py_IS_TYPE, castSelf, items, declarePyType, genProperty, typeToAnyKind, reprLockWithMsg, reprLock, pyType, MagicMethods, PyObject, =destroy, getRawData, getMagic, ofPyTypeObject, hasDict, pyTupleObjectType, $, tpGetter, newPyTuple, castTypeOrRetTE, BltinMethod, PyObjectWithDict, [], getFun, []=, mro, typeToAnyKind, genCollectMagics, isType, PyDictObject, PyArg_NoKw, PyArg_NoKw