mirror of https://github.com/python/cpython.git
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
This commit is contained in:
parent
6a715729a6
commit
00d225ea6d
|
@ -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 */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue