712
722
"T.index(value, [start, [stop]]) -> integer -- return first index of value");
714
724
"T.count(value) -> integer -- return number of occurrences of value");
716
728
static PyMethodDef tuple_methods[] = {
717
729
{"__getnewargs__", (PyCFunction)tuple_getnewargs, METH_NOARGS},
730
{"__sizeof__", (PyCFunction)tuple_sizeof, METH_NOARGS, sizeof_doc},
718
731
{"index", (PyCFunction)tupleindex, METH_VARARGS, index_doc},
719
732
{"count", (PyCFunction)tuplecount, METH_O, count_doc},
720
733
{NULL, NULL} /* sentinel */