diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2023-03-24 05:39:12 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 05:39:12 (GMT) |
commit | d49409196e0c73c38e3f96cf860cbffda40607ec (patch) | |
tree | 38a60ca67615b68b00dea3b6fe5e578bdd151983 | |
parent | 7f01a11199864bcf230b243b99e8a51e9044675d (diff) | |
download | cpython-d49409196e0c73c38e3f96cf860cbffda40607ec.zip cpython-d49409196e0c73c38e3f96cf860cbffda40607ec.tar.gz cpython-d49409196e0c73c38e3f96cf860cbffda40607ec.tar.bz2 |
GH-100989: remove annotation from docstring (GH-102991)
-rw-r--r-- | Modules/_collectionsmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_collectionsmodule.c b/Modules/_collectionsmodule.c index 68131f3..9d8aef1 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -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) @@ -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 |