Skip to content

Commit d494091

Browse files
authored
GH-100989: remove annotation from docstring (GH-102991)
1 parent 7f01a11 commit d494091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_collectionsmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ deque_count(dequeobject *deque, PyObject *v)
990990
}
991991

992992
PyDoc_STRVAR(count_doc,
993-
"D.count(value) -> integer -- return number of occurrences of value");
993+
"D.count(value) -- return number of occurrences of value");
994994

995995
static int
996996
deque_contains(dequeobject *deque, PyObject *v)
@@ -1098,7 +1098,7 @@ deque_index(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
10981098
}
10991099

11001100
PyDoc_STRVAR(index_doc,
1101-
"D.index(value, [start, [stop]]) -> integer -- return first index of value.\n"
1101+
"D.index(value, [start, [stop]]) -- return first index of value.\n"
11021102
"Raises ValueError if the value is not present.");
11031103

11041104
/* insert(), remove(), and delitem() are implemented in terms of

0 commit comments

Comments
 (0)