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