Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a71b5f4

Browse files
committed
Jim Ahlstrom patch: the module doc string is too long for 16-bit VC
1.5. Omit the second part.
1 parent 3aa23fd commit a71b5f4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Python/sysmodule.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,10 @@ exc_value -- value of exception currently being handled\n\
342342
exc_traceback -- traceback of exception currently being handled\n\
343343
The function exc_info() should be used instead of these three,\n\
344344
because it is thread-safe.\n\
345-
" /* !!! */ "\n\
345+
"
346+
#ifndef MS_WIN16
347+
/* Concatenating string here */
348+
"\n\
346349
Static objects:\n\
347350
\n\
348351
maxint -- the largest supported integer (the smallest is -maxint-1)\n\
@@ -368,6 +371,7 @@ setcheckinterval() -- control how often the interpreter checks for events\n\
368371
setprofile() -- set the global profiling function\n\
369372
settrace() -- set the global debug tracing function\n\
370373
";
374+
#endif
371375

372376
PyObject *
373377
_PySys_Init()

0 commit comments

Comments
 (0)