summaryrefslogtreecommitdiffstats
path: root/Objects/unionobject.c
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-15 13:10:48 (GMT)
committerGitHub <noreply@github.com>2023-09-15 13:10:48 (GMT)
commit47af18859385fd996bf7f8fa4b33600c59a6d626 (patch)
treea26fcf716ae6bc42baf6e0ca35cee362be6820fa /Objects/unionobject.c
parent5eec58a9e57383128ade7b527965b1efc474735b (diff)
downloadcpython-47af18859385fd996bf7f8fa4b33600c59a6d626.zip
cpython-47af18859385fd996bf7f8fa4b33600c59a6d626.tar.gz
cpython-47af18859385fd996bf7f8fa4b33600c59a6d626.tar.bz2
Add missing `PyDoc_STR` calls (#109393)
In files: * Modules/_ctypes/cfield.c * Modules/_struct.c * Objects/dictobject.c * Objects/typevarobject.c * Objects/unionobject.c
Diffstat (limited to 'Objects/unionobject.c')
-rw-r--r--Objects/unionobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/unionobject.c b/Objects/unionobject.c
index 347945a..3493ab3 100644
--- a/Objects/unionobject.c
+++ b/Objects/unionobject.c
@@ -331,7 +331,8 @@ union_parameters(PyObject *self, void *Py_UNUSED(unused))
}
static PyGetSetDef union_properties[] = {
- {"__parameters__", union_parameters, (setter)NULL, "Type variables in the types.UnionType.", NULL},
+ {"__parameters__", union_parameters, (setter)NULL,
+ PyDoc_STR("Type variables in the types.UnionType."), NULL},
{0}
};