Skip to content

Commit

Permalink
pythonGH-100989: remove annotation from docstring (pythonGH-102991)
Browse files Browse the repository at this point in the history
(cherry picked from commit d494091)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
  • Loading branch information
rhettinger authored and miss-islington committed Mar 24, 2023
1 parent a4a039c commit 87f76d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/_collectionsmodule.c
Expand Up @@ -997,7 +997,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 @@ -1106,7 +1106,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 87f76d1

Please sign in to comment.