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

@@ -411,7 +411,7 @@ static int Euler_ass_item(EulerObject *self, int i, PyObject *value)
if (f == -1 && PyErr_Occurred()) { /* parsed item not a number */
PyErr_SetString(PyExc_TypeError,
"euler[attribute] = x: "
"argument not a number");
"assigned value not a number");
return -1;
}