Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.

This commit is contained in:
Guido van Rossum 1999-01-29 14:39:12 +00:00
parent 6a715729a6
commit 00d225ea6d
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ xx_demo(self, args)
return Py_None;
}
static Py_MethodDef xx_methods[] = {
static PyMethodDef xx_methods[] = {
{"demo", (PyCFunction)xx_demo},
{NULL, NULL} /* sentinel */
};