From a806e920c41d64a442708871fba260831fedc472 Mon Sep 17 00:00:00 2001 From: James Hilton-Balfe Date: Thu, 14 Sep 2023 04:42:44 +0100 Subject: [PATCH] Add missing PyDoc_STR to GenericAlias.__parameters__ (#108811) --- Objects/genericaliasobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/genericaliasobject.c b/Objects/genericaliasobject.c index bb505374610..ca172440a3a 100644 --- a/Objects/genericaliasobject.c +++ b/Objects/genericaliasobject.c @@ -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} };