Fix missing quotation mark.

This commit is contained in:
Brett Cannon 2007-09-05 00:49:19 +00:00
parent 63529fc836
commit f48192e45b
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ function, and add the following code instead::
{
PyObject *res = PyModule_New("xx", &xxmodule);
if (!res) return NULL;
xxstate(res)->ErrorObject = PyErr_NewException("xx.error, NULL, NULL);
xxstate(res)->ErrorObject = PyErr_NewException("xx.error", NULL, NULL);
if (!xxstate(res)->ErrorObject) {
Py_DECREF(res);
return NULL;