Fix T38402: invalid message for bad type assignments (Quat, Vector)

This commit is contained in:
2014-01-30 16:45:20 +11:00
parent 6e479b18ef
commit bd697dd4d7
5 changed files with 6 additions and 6 deletions

View File

@@ -583,7 +583,7 @@ static int Quaternion_ass_item(QuaternionObject *self, int i, PyObject *ob)
if (scalar == -1.0f && PyErr_Occurred()) { /* parsed item not a number */
PyErr_SetString(PyExc_TypeError,
"quaternion[index] = x: "
"index argument not a number");
"assigned value not a number");
return -1;
}