Python API: give a better error message when creating a Matrix fails

This commit is contained in:
Campbell Barton 2013-11-29 09:47:11 +11:00
parent 19a41e5a10
commit 3e49787b01
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ static PyObject *Matrix_new(PyTypeObject *type, PyObject *args, PyObject *kwds)
/* will overwrite error */
PyErr_SetString(PyExc_TypeError,
"Matrix(): "
"expects no args or 2-4 numeric sequences");
"expects no args or a single arg containing 2-4 numeric sequences");
return NULL;
}