]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add missing PyDoc_STR to GenericAlias.__parameters__ (#108811)
authorJames Hilton-Balfe <gobot1234yt@gmail.com>
Thu, 14 Sep 2023 03:42:44 +0000 (04:42 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 03:42:44 +0000 (20:42 -0700)
Objects/genericaliasobject.c

index bb50537461040b591da6e9807223b05dcf0b6293..ca172440a3ac01f12506f07a415a9a6a12b54ce7 100644 (file)
@@ -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}
 };