BGE Script template for a python module (set EOL to native this time)

BGE PyAPI use defines for error return values
 - del gameOb['var'] error message was wrong.
This commit is contained in:
2009-05-26 07:41:34 +00:00
parent 5f82855a07
commit 7ba91ddcc3
4 changed files with 59 additions and 14 deletions

View File

@@ -662,7 +662,7 @@ int CValue::py_delattro(PyObject *attr)
return 0;
PyErr_Format(PyExc_AttributeError, "attribute \"%s\" dosnt exist", attr_str);
return 1;
return PY_SET_ATTR_MISSING;
}
int CValue::py_setattro(PyObject *attr, PyObject* pyobj)