Skip to content

Commit ed2a6d3

Browse files
author
loewis
committed
Patch #505375: Make doc strings optional.
git-svn-id: http://svn.python.org/projects/python/trunk@27116 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent b3316fe commit ed2a6d3

5 files changed

Lines changed: 15 additions & 0 deletions

File tree

Mac/Include/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
300300
shared libraries */
301301
#undef WITH_DL_DLD
302302

303+
/* Define if you want documentation strings in extension modules */
304+
#define WITH_DOC_STRINGS 1
305+
303306
/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
304307
dynamic linker (dyld) instead of the old-style (NextStep) dynamic
305308
linker (rld). Dyld is necessary to support frameworks. */

PC/os2emx/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
/* enable the GC module */
3333
#define WITH_CYCLE_GC 1
3434

35+
/* Define if you want documentation strings in extension modules */
36+
#define WITH_DOC_STRINGS 1
37+
3538
/* Unicode related */
3639
#define Py_USING_UNICODE
3740
#define PY_UNICODE_TYPE wchar_t

PC/os2vacpp/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ typedef int pid_t;
202202
/* #define HAVE_UNISTD_H 1 */ /* #include <unistd.h> */
203203
/* #define HAVE_UNAME 1 */ /* uname () */
204204

205+
/* Define if you want documentation strings in extension modules */
206+
#define WITH_DOC_STRINGS 1
207+
205208
#ifdef USE_DL_EXPORT
206209
#define DL_IMPORT(RTYPE) RTYPE _System
207210
#endif

PC/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,9 @@ typedef int pid_t;
481481
shared libraries */
482482
/* #undef WITH_DL_DLD */
483483

484+
/* Define if you want documentation strings in extension modules */
485+
#define WITH_DOC_STRINGS 1
486+
484487
/* Define if you want to compile in rudimentary thread support */
485488
/* #undef WITH_THREAD */
486489

RISCOS/pyconfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@
250250
shared libraries */
251251
#undef WITH_DL_DLD
252252

253+
/* Define if you want documentation strings in extension modules */
254+
#define WITH_DOC_STRINGS 1
255+
253256
/* Define if you want to use the new-style (Openstep, Rhapsody, MacOS)
254257
dynamic linker (dyld) instead of the old-style (NextStep) dynamic
255258
linker (rld). Dyld is necessary to support frameworks. */

0 commit comments

Comments
 (0)