diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-03-24 06:04:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 06:04:06 (GMT) |
commit | fd43fb69962361ce4ef8e1175fde0a32726cdf77 (patch) | |
tree | feca9f2d6290f40f8f1195dc74c0af106bd5045b /Modules/_collectionsmodule.c | |
parent | a4a039c5465b5afe65f95db801477405886abcc9 (diff) | |
download | cpython-fd43fb69962361ce4ef8e1175fde0a32726cdf77.zip cpython-fd43fb69962361ce4ef8e1175fde0a32726cdf77.tar.gz cpython-fd43fb69962361ce4ef8e1175fde0a32726cdf77.tar.bz2 |
GH-100989: remove annotation from docstring (GH-102991)
(cherry picked from commit d49409196e0c73c38e3f96cf860cbffda40607ec)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Modules/_collectionsmodule.c')
-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 741cfbe..5f5c088 100644 --- a/Modules/_collectionsmodule.c +++ b/Modules/_collectionsmodule.c @@ -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) @@ -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 |