gh-111178: remove redundant casts for functions with correct signatures (#131673)

This commit is contained in:
Bénédikt Tran 2025-04-01 17:18:11 +02:00 committed by GitHub
parent 8cd29c2b53
commit edbf7fb129
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
30 changed files with 96 additions and 101 deletions

View file

@ -733,7 +733,7 @@ range_subscript(PyObject *op, PyObject *item)
static PyMappingMethods range_as_mapping = {
range_length, /* mp_length */
range_subscript, /* mp_subscript */
(objobjargproc)0, /* mp_ass_subscript */
0, /* mp_ass_subscript */
};
static int