diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2022-04-18 03:39:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 03:39:32 (GMT) |
commit | a573cb2fec664c645ab744658d7e941d72e1a398 (patch) | |
tree | a44303e326da2ea7406397c6640cf0d51ab3eb43 /Doc/includes/custom2.c | |
parent | 328dbc051f84bd5fdf61101bb4fa61d85f8b7feb (diff) | |
download | cpython-a573cb2fec664c645ab744658d7e941d72e1a398.zip cpython-a573cb2fec664c645ab744658d7e941d72e1a398.tar.gz cpython-a573cb2fec664c645ab744658d7e941d72e1a398.tar.bz2 |
gh-91118: Fix docstrings that do not honor --without-doc-strings (#31769)
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Diffstat (limited to 'Doc/includes/custom2.c')
-rw-r--r-- | Doc/includes/custom2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/custom2.c b/Doc/includes/custom2.c index 5bacab7..2a3c59f 100644 --- a/Doc/includes/custom2.c +++ b/Doc/includes/custom2.c @@ -98,7 +98,7 @@ static PyMethodDef Custom_methods[] = { static PyTypeObject CustomType = { PyVarObject_HEAD_INIT(NULL, 0) .tp_name = "custom2.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, |