There was an error while loading. Please reload this page.
1 parent 7f01a11 commit d494091Copy full SHA for d494091
1 file changed
Modules/_collectionsmodule.c
@@ -990,7 +990,7 @@ deque_count(dequeobject *deque, PyObject *v)
990
}
991
992
PyDoc_STRVAR(count_doc,
993
-"D.count(value) -> integer -- return number of occurrences of value");
+"D.count(value) -- return number of occurrences of value");
994
995
static int
996
deque_contains(dequeobject *deque, PyObject *v)
@@ -1098,7 +1098,7 @@ deque_index(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
1098
1099
1100
PyDoc_STRVAR(index_doc,
1101
-"D.index(value, [start, [stop]]) -> integer -- return first index of value.\n"
+"D.index(value, [start, [stop]]) -- return first index of value.\n"
1102
"Raises ValueError if the value is not present.");
1103
1104
/* insert(), remove(), and delitem() are implemented in terms of
0 commit comments