(PyTuple_Check p)
Return true if p is a tuple object or an instance of a subtype of the tuple type.
Return true if p is a tuple object or an instance of a subtype of the tuple type.
(PyTuple_GetItem p pos)
Return value: Borrowed reference.
Return the object at position pos in the tuple pointed to by p. If pos is out of bounds, return NULL and sets an IndexError exception.
Return value: Borrowed reference. Return the object at position pos in the tuple pointed to by p. If pos is out of bounds, return NULL and sets an IndexError exception.
(PyTuple_GetSlice p low high)
Return value: New reference.
Take a slice of the tuple pointed to by p from low to high and return it as a new tuple.
Return value: New reference. Take a slice of the tuple pointed to by p from low to high and return it as a new tuple.
(PyTuple_New len)
Return value: New reference.
Return a new tuple object of size len, or NULL on failure.
Return value: New reference. Return a new tuple object of size len, or NULL on failure.
(PyTuple_SetItem p pos o)
Insert a reference to object o at position pos of the tuple pointed to by p. Return 0 on success.
Note
This function “steals” a reference to o
Insert a reference to object o at position pos of the tuple pointed to by p. Return 0 on success. Note This function “steals” a reference to o
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close