summaryrefslogtreecommitdiff
path: root/Modules/xxsubtype.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-06-13 20:33:02 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-06-13 20:33:02 +0000
commit1117ad5b1849b0fe151357058bf6f240c120039a (patch)
tree51e09bbb8f5a11454f6b00a9852194d1387da812 /Modules/xxsubtype.c
parent81296767f2959685324436bfe756dd941428cb91 (diff)
downloadcpython-1117ad5b1849b0fe151357058bf6f240c120039a.tar.gz
Patch #568124: Add doc string macros.
Diffstat (limited to 'Modules/xxsubtype.c')
-rw-r--r--Modules/xxsubtype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c
index 7a7cc1ecd4..353f773c28 100644
--- a/Modules/xxsubtype.c
+++ b/Modules/xxsubtype.c
@@ -1,11 +1,11 @@
#include "Python.h"
#include "structmember.h"
-static char xxsubtype__doc__[] =
+PyDoc_STRVAR(xxsubtype__doc__,
"xxsubtype is an example module showing how to subtype builtin types from C.\n"
"test_descr.py in the standard test suite requires it in order to complete.\n"
"If you don't care about the examples, and don't intend to run the Python\n"
-"test suite, you can recompile Python without Modules/xxsubtype.c.";
+"test suite, you can recompile Python without Modules/xxsubtype.c.");
/* We link this module statically for convenience. If compiled as a shared
library instead, some compilers don't allow addresses of Python objects