diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-04-12 10:56:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 10:56:41 (GMT) |
commit | 3a8c1ca7e7ce181ddb29c9393171d5c508ce89c8 (patch) | |
tree | 9503a1be17bd94635c29b1452afebb5bdb84dba5 /Objects/rangeobject.c | |
parent | 94e9c35cd0f2898693bb96eb1579fe0329648fa2 (diff) | |
download | cpython-3a8c1ca7e7ce181ddb29c9393171d5c508ce89c8.zip cpython-3a8c1ca7e7ce181ddb29c9393171d5c508ce89c8.tar.gz cpython-3a8c1ca7e7ce181ddb29c9393171d5c508ce89c8.tar.bz2 |
gh-117764: Fix and add signatures for many builtins (GH-117769)
Diffstat (limited to 'Objects/rangeobject.c')
-rw-r--r-- | Objects/rangeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/rangeobject.c b/Objects/rangeobject.c index ce9eef6..7da6162 100644 --- a/Objects/rangeobject.c +++ b/Objects/rangeobject.c @@ -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 */ |