bpo-44114: Remove redundant cast. (GH-26098)
This commit is contained in:
parent
1aa3530314
commit
e0c614e5fd
@ -4834,7 +4834,7 @@ PyDoc_STRVAR(reversed_items_doc,
|
|||||||
static PyMethodDef dictitems_methods[] = {
|
static PyMethodDef dictitems_methods[] = {
|
||||||
{"isdisjoint", (PyCFunction)dictviews_isdisjoint, METH_O,
|
{"isdisjoint", (PyCFunction)dictviews_isdisjoint, METH_O,
|
||||||
isdisjoint_doc},
|
isdisjoint_doc},
|
||||||
{"__reversed__", (PyCFunction)(void(*)(void))dictitems_reversed, METH_NOARGS,
|
{"__reversed__", (PyCFunction)dictitems_reversed, METH_NOARGS,
|
||||||
reversed_items_doc},
|
reversed_items_doc},
|
||||||
{NULL, NULL} /* sentinel */
|
{NULL, NULL} /* sentinel */
|
||||||
};
|
};
|
||||||
@ -4915,7 +4915,7 @@ PyDoc_STRVAR(reversed_values_doc,
|
|||||||
"Return a reverse iterator over the dict values.");
|
"Return a reverse iterator over the dict values.");
|
||||||
|
|
||||||
static PyMethodDef dictvalues_methods[] = {
|
static PyMethodDef dictvalues_methods[] = {
|
||||||
{"__reversed__", (PyCFunction)(void(*)(void))dictvalues_reversed, METH_NOARGS,
|
{"__reversed__", (PyCFunction)dictvalues_reversed, METH_NOARGS,
|
||||||
reversed_values_doc},
|
reversed_values_doc},
|
||||||
{NULL, NULL} /* sentinel */
|
{NULL, NULL} /* sentinel */
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user