Kaydet (Commit) 00d225ea authored tarafından Guido van Rossum's avatar Guido van Rossum

Correct typo (Py_MethodDef doesn't exist). Reported by Uwe Zessin.

üst 6a715729
...@@ -85,7 +85,7 @@ xx_demo(self, args) ...@@ -85,7 +85,7 @@ xx_demo(self, args)
return Py_None; return Py_None;
} }
static Py_MethodDef xx_methods[] = { static PyMethodDef xx_methods[] = {
{"demo", (PyCFunction)xx_demo}, {"demo", (PyCFunction)xx_demo},
{NULL, NULL} /* sentinel */ {NULL, NULL} /* sentinel */
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment