mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-111178: remove redundant casts for functions with correct signatures (#131673)
This commit is contained in:
parent
8cd29c2b53
commit
edbf7fb129
30 changed files with 96 additions and 101 deletions
|
|
@ -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}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue