From: Guido van Rossum Date: Fri, 29 Jan 1999 14:39:12 +0000 (+0000) Subject: Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin. X-Git-Tag: v1.5.2b2~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00d225ea6dbb4d75771c28386bc440d976e06eb5;p=thirdparty%2FPython%2Fcpython.git Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin. --- diff --git a/Objects/xxobject.c b/Objects/xxobject.c index 501b955c3905..c5b518f7bdde 100644 --- a/Objects/xxobject.c +++ b/Objects/xxobject.c @@ -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 */ };