MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Set

Method Set

pkg/filament/cpython/sequence.go:40–42  ·  view source on GitHub ↗

Set inserts a reference to object at specified position of the tuple.

(pos int, ob *PyObject)

Source from the content-addressed store, hash-verified

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

Callers 1

CallMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected