Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 00d225e

Browse files
committed
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
1 parent 6a71572 commit 00d225e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/xxobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ xx_demo(self, args)
8585
return Py_None;
8686
}
8787

88-
static Py_MethodDef xx_methods[] = {
88+
static PyMethodDef xx_methods[] = {
8989
{"demo", (PyCFunction)xx_demo},
9090
{NULL, NULL} /* sentinel */
9191
};

0 commit comments

Comments
 (0)