Docstring change: Specify exception raised

This commit is contained in:
Andrew M. Kuchling 2008-10-04 01:03:42 +00:00
parent bd7c4ca569
commit b15d6fb9a7

View file

@ -719,7 +719,9 @@ tuple_sizeof(PyTupleObject *self)
}
PyDoc_STRVAR(index_doc,
"T.index(value, [start, [stop]]) -> integer -- return first index of value");
"T.index(value, [start, [stop]]) -> integer -- return first index of value.\n"
"Raises ValueError if the value is not present."
);
PyDoc_STRVAR(count_doc,
"T.count(value) -> integer -- return number of occurrences of value");
PyDoc_STRVAR(sizeof_doc,