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

@ -380,7 +380,7 @@ static PyGetSetDef union_properties[] = {
PyDoc_STR("Qualified name of the type"), NULL},
{"__origin__", union_origin, NULL,
PyDoc_STR("Always returns the type"), NULL},
{"__parameters__", union_parameters, (setter)NULL,
{"__parameters__", union_parameters, NULL,
PyDoc_STR("Type variables in the types.UnionType."), NULL},
{0}
};