mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-117764: Fix and add signatures for many builtins (GH-117769)
This commit is contained in:
parent
94e9c35cd0
commit
3a8c1ca7e7
11 changed files with 45 additions and 30 deletions
|
@ -751,7 +751,7 @@ PyDoc_STRVAR(index_doc,
|
|||
|
||||
static PyMethodDef range_methods[] = {
|
||||
{"__reversed__", range_reverse, METH_NOARGS, reverse_doc},
|
||||
{"__reduce__", (PyCFunction)range_reduce, METH_VARARGS},
|
||||
{"__reduce__", (PyCFunction)range_reduce, METH_NOARGS},
|
||||
{"count", (PyCFunction)range_count, METH_O, count_doc},
|
||||
{"index", (PyCFunction)range_index, METH_O, index_doc},
|
||||
{NULL, NULL} /* sentinel */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue