MCPcopy Create free account
hub / github.com/blender/blender / Vector_ass_item

Function Vector_ass_item

source/blender/python/mathutils/mathutils_Vector.cc:1907–1910  ·  view source on GitHub ↗

Sequence accessor (set): `object[i] = x`. */

Source from the content-addressed store, hash-verified

1905
1906/** Sequence accessor (set): `object[i] = x`. */
1907static int Vector_ass_item(VectorObject *self, Py_ssize_t i, PyObject *value)
1908{
1909 return vector_ass_item_internal(self, i, value, false);
1910}
1911
1912/** Sequence slice accessor (get): `x = object[i:j]`. */
1913static PyObject *Vector_slice(VectorObject *self, int begin, int end)

Callers 1

Vector_ass_subscriptFunction · 0.85

Calls 1

vector_ass_item_internalFunction · 0.85

Tested by

no test coverage detected