bmesh py api:
[blender.git] / source / blender / python / mathutils / mathutils_Color.c
index 5fe3ea4c18795904341c2adeb30f7d523c0c0036..3b60d6655d69ce9eb1c6ae7b38d6dc6c3e11137a 100644 (file)
@@ -194,7 +194,7 @@ static PyObject *Color_item(ColorObject *self, int i)
 
        if (i < 0 || i >= COLOR_SIZE) {
                PyErr_SetString(PyExc_IndexError,
-                               "color[attribute]: "
+                               "color[item]: "
                                "array index out of range");
                return NULL;
        }
@@ -213,7 +213,7 @@ static int Color_ass_item(ColorObject *self, int i, PyObject *value)
 
        if (f == -1 && PyErr_Occurred()) { // parsed item not a number
                PyErr_SetString(PyExc_TypeError,
-                               "color[attribute] = x: "
+                               "color[item] = x: "
                                "argument not a number");
                return -1;
        }
@@ -221,7 +221,7 @@ static int Color_ass_item(ColorObject *self, int i, PyObject *value)
        if (i < 0) i = COLOR_SIZE - i;
 
        if (i < 0 || i >= COLOR_SIZE) {
-               PyErr_SetString(PyExc_IndexError, "color[attribute] = x: "
+               PyErr_SetString(PyExc_IndexError, "color[item] = x: "
                                "array assignment index out of range");
                return -1;
        }