]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
authorGuido van Rossum <guido@python.org>
Fri, 29 Jan 1999 14:39:12 +0000 (14:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 29 Jan 1999 14:39:12 +0000 (14:39 +0000)
Objects/xxobject.c

index 501b955c39054782538e40d0c49e122ed59526da..c5b518f7bdde7aca619848a7c8a2554edef3781e 100644 (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 */
 };