summaryrefslogtreecommitdiffstats
path: root/Doc/includes/custom3.c
diff options
context:
space:
mode:
authorOleg Iarygin <oleg@arhadthedev.net>2022-04-19 19:58:34 (GMT)
committerGitHub <noreply@github.com>2022-04-19 19:58:34 (GMT)
commit312e16fb7be927521b453f427a28535f772a771c (patch)
tree53df6d613723dffa010efd678ee7f8310e8d558c /Doc/includes/custom3.c
parentcb3c85d40d2dfc1d518ebd7afd3d82819e38a390 (diff)
downloadcpython-312e16fb7be927521b453f427a28535f772a771c.zip
cpython-312e16fb7be927521b453f427a28535f772a771c.tar.gz
cpython-312e16fb7be927521b453f427a28535f772a771c.tar.bz2
[3.9] gh-91118: Fix docstrings that do not honor --without-doc-strings (GH-31769) (#91664)
Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a573cb2fec664c645ab744658d7e941d72e1a398)
Diffstat (limited to 'Doc/includes/custom3.c')
-rw-r--r--Doc/includes/custom3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/custom3.c b/Doc/includes/custom3.c
index 2b7a99e..5a47530 100644
--- a/Doc/includes/custom3.c
+++ b/Doc/includes/custom3.c
@@ -148,7 +148,7 @@ static PyMethodDef Custom_methods[] = {
static PyTypeObject CustomType = {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "custom3.Custom",
- .tp_doc = "Custom objects",
+ .tp_doc = PyDoc_STR("Custom objects"),
.tp_basicsize = sizeof(CustomObject),
.tp_itemsize = 0,
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,