diff Python/sysmodule.c @ 8840:44baef8ab5c8 legacy-trunk

Gack. The module doc string is too long for VC++ 5.0. However two string literals concatenated are fine! Hope this doesn't break other platforms.
author Guido van Rossum <guido@python.org>
date Thu, 06 Aug 1998 03:34:39 +0000
parents 6e8b0e754a7f
children 81574e4646b4
line wrap: on
line diff
--- a/Python/sysmodule.c	Thu Aug 06 03:23:32 1998 +0000
+++ b/Python/sysmodule.c	Thu Aug 06 03:34:39 1998 +0000
@@ -310,7 +310,10 @@
 	return list;
 }
 
-/* XXX If your compiler doesn't like strings this long, edit it. */
+/* XXX This doc string is too long to be a single string literal in VC++ 5.0.
+   Two literals concatenated works just fine.  If you have a K&R compiler
+   or other abomination that however *does* understand longer strings,
+   get rid of the !!! comment in the middle and the quotes that surround it. */
 static char sys_doc[] =
 "This module provides access to some objects used or maintained by the\n\
 interpreter and to functions that interact strongly with the interpreter.\n\
@@ -339,7 +342,7 @@
 exc_traceback -- traceback of exception currently being handled\n\
   The function exc_info() should be used instead of these three,\n\
   because it is thread-safe.\n\
-\n\
+" /* !!! */ "\n\
 Static objects:\n\
 \n\
 maxint -- the largest supported integer (the smallest is -maxint-1)\n\