From 00d225ea6dbb4d75771c28386bc440d976e06eb5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 29 Jan 1999 14:39:12 +0000 Subject: [PATCH] Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin. --- Objects/xxobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/xxobject.c b/Objects/xxobject.c index 501b955c390..c5b518f7bdd 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 */ };