Added function name to many of the PyArg_ParseTuple calls in gameengine
This way python raises more useful messages.
This commit is contained in:
@@ -830,7 +830,7 @@ PyObject* CValue::ConvertKeysToPython( void )
|
||||
PyObject* CValue::PyMake(PyObject* ignored,PyObject* args)
|
||||
{
|
||||
|
||||
//if (!PyArg_ParseTuple(args,"s",&name)) return NULL;
|
||||
//if (!PyArg_ParseTuple(args,"s:make",&name)) return NULL;
|
||||
Py_RETURN_NONE;//new CValue();
|
||||
}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user