comparison 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
comparison
equal deleted inserted replaced
8839:c2f9e505f75a 8840:44baef8ab5c8
308 list = v; 308 list = v;
309 } 309 }
310 return list; 310 return list;
311 } 311 }
312 312
313 /* XXX If your compiler doesn't like strings this long, edit it. */ 313 /* XXX This doc string is too long to be a single string literal in VC++ 5.0.
314 Two literals concatenated works just fine. If you have a K&R compiler
315 or other abomination that however *does* understand longer strings,
316 get rid of the !!! comment in the middle and the quotes that surround it. */
314 static char sys_doc[] = 317 static char sys_doc[] =
315 "This module provides access to some objects used or maintained by the\n\ 318 "This module provides access to some objects used or maintained by the\n\
316 interpreter and to functions that interact strongly with the interpreter.\n\ 319 interpreter and to functions that interact strongly with the interpreter.\n\
317 \n\ 320 \n\
318 Dynamic objects:\n\ 321 Dynamic objects:\n\
337 exc_type -- type of exception currently being handled\n\ 340 exc_type -- type of exception currently being handled\n\
338 exc_value -- value of exception currently being handled\n\ 341 exc_value -- value of exception currently being handled\n\
339 exc_traceback -- traceback of exception currently being handled\n\ 342 exc_traceback -- traceback of exception currently being handled\n\
340 The function exc_info() should be used instead of these three,\n\ 343 The function exc_info() should be used instead of these three,\n\
341 because it is thread-safe.\n\ 344 because it is thread-safe.\n\
342 \n\ 345 " /* !!! */ "\n\
343 Static objects:\n\ 346 Static objects:\n\
344 \n\ 347 \n\
345 maxint -- the largest supported integer (the smallest is -maxint-1)\n\ 348 maxint -- the largest supported integer (the smallest is -maxint-1)\n\
346 builtin_module_names -- tuple of module names built into this intepreter\n\ 349 builtin_module_names -- tuple of module names built into this intepreter\n\
347 version -- the version of this interpreter\n\ 350 version -- the version of this interpreter\n\