diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-06-13 20:33:02 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-06-13 20:33:02 +0000 |
commit | 1117ad5b1849b0fe151357058bf6f240c120039a (patch) | |
tree | 51e09bbb8f5a11454f6b00a9852194d1387da812 /Modules/xxsubtype.c | |
parent | 81296767f2959685324436bfe756dd941428cb91 (diff) | |
download | cpython-1117ad5b1849b0fe151357058bf6f240c120039a.tar.gz |
Patch #568124: Add doc string macros.
Diffstat (limited to 'Modules/xxsubtype.c')
-rw-r--r-- | Modules/xxsubtype.c | 4 |
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 |