Skip to content

Commit

Permalink
Add missing PyDoc_STR to GenericAlias.__parameters__ (#108811)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobot1234 authored Sep 14, 2023
1 parent baaac99 commit a806e92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/genericaliasobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ ga_unpacked_tuple_args(PyObject *self, void *unused)
}

static PyGetSetDef ga_properties[] = {
{"__parameters__", ga_parameters, (setter)NULL, "Type variables in the GenericAlias.", NULL},
{"__parameters__", ga_parameters, (setter)NULL, PyDoc_STR("Type variables in the GenericAlias."), NULL},
{"__typing_unpacked_tuple_args__", ga_unpacked_tuple_args, (setter)NULL, NULL},
{0}
};
Expand Down

0 comments on commit a806e92

Please sign in to comment.