summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapimodule.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 /Modules/_testcapimodule.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 'Modules/_testcapimodule.c')
-rw-r--r--Modules/_testcapimodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c
index ad1b074..9084127 100644
--- a/Modules/_testcapimodule.c
+++ b/Modules/_testcapimodule.c
@@ -5990,7 +5990,7 @@ static PyTypeObject PyRecursingInfinitelyError_Type = {
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */
- "Instantiating this exception starts infinite recursion.", /* tp_doc */
+ PyDoc_STR("Instantiating this exception starts infinite recursion."), /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */