diff Python/exceptions.c @ 13565:e558eb228a46 legacy-trunk

Worm around MSVC6 error on single string literal > 2Kb.
author Tim Peters <tim.peters@gmail.com>
date Wed, 12 Jul 2000 04:02:10 +0000
parents feab677269e0
children 61e4c29d53d8
line wrap: on
line diff
--- a/Python/exceptions.c	Wed Jul 12 03:38:34 2000 +0000
+++ b/Python/exceptions.c	Wed Jul 12 04:02:10 2000 +0000
@@ -20,6 +20,10 @@
 
 #include "Python.h"
 
+/* Caution:  MS Visual C++ 6 errors if a single string literal exceeds
+ * 2Kb.  So the module docstring has been broken roughly in half, using
+ * compile-time literal concatenation.
+ */
 static char
 module__doc__[] = 
 "Python's standard exception class hierarchy.\n\
@@ -41,8 +45,9 @@
 Here is a rundown of the class hierarchy.  The classes found here are\n\
 inserted into both the exceptions module and the `built-in' module.  It is\n\
 recommended that user defined class based exceptions be derived from the\n\
-`Exception' class, although this is currently not enforced.\n\
-\n\
+`Exception' class, although this is currently not enforced.\n"
+	/* keep string pieces "small" */
+"\n\
 Exception\n\
  |\n\
  +-- SystemExit\n\