Add sentinel

This commit is contained in:
Raymond Hettinger 2009-11-30 21:33:31 +00:00
parent 673827c6f9
commit bbeca275e1
1 changed files with 1 additions and 0 deletions

View File

@ -2919,6 +2919,7 @@ PyDoc_STRVAR(count_reduce_doc, "Return state information for pickling.");
static PyMethodDef count_methods[] = {
{"__reduce__", (PyCFunction)count_reduce, METH_NOARGS,
count_reduce_doc},
{NULL, NULL} /* sentinel */
};
PyDoc_STRVAR(count_doc,