commit | 00d225ea6dbb4d75771c28386bc440d976e06eb5 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Jan 29 14:39:12 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Jan 29 14:39:12 1999 +0000 |
tree | c6f1ea14b191ee6ca7a2a022b701c3f74782dc28 | |
parent | 6a715729a68af56b924e8389f2bc4a9bb15ed2b3 [diff] |
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
diff --git a/Objects/xxobject.c b/Objects/xxobject.c index 501b955..c5b518f 100644 --- a/Objects/xxobject.c +++ b/Objects/xxobject.c
@@ -85,7 +85,7 @@ return Py_None; } -static Py_MethodDef xx_methods[] = { +static PyMethodDef xx_methods[] = { {"demo", (PyCFunction)xx_demo}, {NULL, NULL} /* sentinel */ };