Set inserts a reference to object at specified position of the tuple.
(pos int, ob *PyObject)
| 38 | |
| 39 | // Set inserts a reference to object at specified position of the tuple. |
| 40 | func (t *Tuple) Set(pos int, ob *PyObject) { |
| 41 | C.PyTuple_SetItem(t.rawptr, C.Py_ssize_t(pos), ob.rawptr) |
| 42 | } |