Skip to content

Commit fd43fb6

Browse files
GH-100989: remove annotation from docstring (GH-102991)
(cherry picked from commit d494091) Co-authored-by: Raymond Hettinger <[email protected]>
1 parent a4a039c commit fd43fb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_collectionsmodule.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ deque_count(dequeobject *deque, PyObject *v)
997997
}
998998

999999
PyDoc_STRVAR(count_doc,
1000-
"D.count(value) -> integer -- return number of occurrences of value");
1000+
"D.count(value) -- return number of occurrences of value");
10011001

10021002
static int
10031003
deque_contains(dequeobject *deque, PyObject *v)
@@ -1106,7 +1106,7 @@ deque_index(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
11061106
}
11071107

11081108
PyDoc_STRVAR(index_doc,
1109-
"D.index(value, [start, [stop]]) -> integer -- return first index of value.\n"
1109+
"D.index(value, [start, [stop]]) -- return first index of value.\n"
11101110
"Raises ValueError if the value is not present.");
11111111

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

0 commit comments

Comments
 (0)