summaryrefslogtreecommitdiffstats
path: root/Objects/xxobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-29 14:39:12 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-29 14:39:12 (GMT)
commit00d225ea6dbb4d75771c28386bc440d976e06eb5 (patch)
treec6f1ea14b191ee6ca7a2a022b701c3f74782dc28 /Objects/xxobject.c
parent6a715729a68af56b924e8389f2bc4a9bb15ed2b3 (diff)
downloadcpython-00d225ea6dbb4d75771c28386bc440d976e06eb5.zip
cpython-00d225ea6dbb4d75771c28386bc440d976e06eb5.tar.gz
cpython-00d225ea6dbb4d75771c28386bc440d976e06eb5.tar.bz2
Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.
Diffstat (limited to 'Objects/xxobject.c')
-rw-r--r--Objects/xxobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ xx_demo(self, args)
return Py_None;
}
-static Py_MethodDef xx_methods[] = {
+static PyMethodDef xx_methods[] = {
{"demo", (PyCFunction)xx_demo},
{NULL, NULL} /* sentinel */
};