Skip to content

Commit

Permalink
pythonGH-100989: remove annotation from docstring (pythonGH-102991)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger authored and warsaw committed Apr 11, 2023
1 parent b2fab1b commit b87d604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/_collectionsmodule.c
Expand Up @@ -990,7 +990,7 @@ deque_count(dequeobject *deque, PyObject *v)
}

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

static int
deque_contains(dequeobject *deque, PyObject *v)
Expand Down Expand Up @@ -1098,7 +1098,7 @@ deque_index(dequeobject *deque, PyObject *const *args, Py_ssize_t nargs)
}

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

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

0 comments on commit b87d604

Please sign in to comment.