From: Martin v. Löwis Date: Sun, 9 Jun 2002 13:41:37 +0000 (+0000) Subject: Patch #505375: Make doc strings optional. X-Git-Tag: v2.3c1~5406 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2befa48926ed4804758442033ab2c09c2678bef1;p=python Patch #505375: Make doc strings optional. --- diff --git a/Mac/Include/pyconfig.h b/Mac/Include/pyconfig.h index 3f719d53db..2229df4f0e 100644 --- a/Mac/Include/pyconfig.h +++ b/Mac/Include/pyconfig.h @@ -300,6 +300,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. shared libraries */ #undef WITH_DL_DLD +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 + /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) dynamic linker (dyld) instead of the old-style (NextStep) dynamic linker (rld). Dyld is necessary to support frameworks. */ diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h index a72f9818e7..d3207d6090 100644 --- a/PC/os2emx/pyconfig.h +++ b/PC/os2emx/pyconfig.h @@ -32,6 +32,9 @@ /* enable the GC module */ #define WITH_CYCLE_GC 1 +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 + /* Unicode related */ #define Py_USING_UNICODE #define PY_UNICODE_TYPE wchar_t diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h index 1ce73c7e89..8a27059ed9 100644 --- a/PC/os2vacpp/pyconfig.h +++ b/PC/os2vacpp/pyconfig.h @@ -202,6 +202,9 @@ typedef int pid_t; /* #define HAVE_UNISTD_H 1 */ /* #include */ /* #define HAVE_UNAME 1 */ /* uname () */ +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 + #ifdef USE_DL_EXPORT #define DL_IMPORT(RTYPE) RTYPE _System #endif diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 081142f851..893db4302d 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -481,6 +481,9 @@ typedef int pid_t; shared libraries */ /* #undef WITH_DL_DLD */ +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 + /* Define if you want to compile in rudimentary thread support */ /* #undef WITH_THREAD */ diff --git a/RISCOS/pyconfig.h b/RISCOS/pyconfig.h index 7934fa4ea4..12f8fc6497 100644 --- a/RISCOS/pyconfig.h +++ b/RISCOS/pyconfig.h @@ -250,6 +250,9 @@ shared libraries */ #undef WITH_DL_DLD +/* Define if you want documentation strings in extension modules */ +#define WITH_DOC_STRINGS 1 + /* Define if you want to use the new-style (Openstep, Rhapsody, MacOS) dynamic linker (dyld) instead of the old-style (NextStep) dynamic linker (rld). Dyld is necessary to support frameworks. */