Added function name to many of the PyArg_ParseTuple calls in gameengine

This way python raises more useful messages.
This commit is contained in:
2009-04-10 16:45:19 +00:00
parent a412ce0702
commit 2fff90bbb4
38 changed files with 166 additions and 166 deletions

View File

@@ -204,7 +204,7 @@ PyObject* SCA_ActuatorSensor::PySetActuator(PyObject* self, PyObject* args, PyOb
/* on the fly? */
char *actNameArg = NULL;
if (!PyArg_ParseTuple(args, "s", &actNameArg)) {
if (!PyArg_ParseTuple(args, "s:setActuator", &actNameArg)) {
return NULL;
}