mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
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.
This commit is contained in:
parent
617bc19e3d
commit
40552d0857
1 changed files with 5 additions and 2 deletions
|
@ -310,7 +310,10 @@ list_builtin_module_names()
|
||||||
return list;
|
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[] =
|
static char sys_doc[] =
|
||||||
"This module provides access to some objects used or maintained by the\n\
|
"This module provides access to some objects used or maintained by the\n\
|
||||||
interpreter and to functions that interact strongly with the interpreter.\n\
|
interpreter and to functions that interact strongly with the interpreter.\n\
|
||||||
|
@ -339,7 +342,7 @@ exc_value -- value of exception currently being handled\n\
|
||||||
exc_traceback -- traceback of exception currently being handled\n\
|
exc_traceback -- traceback of exception currently being handled\n\
|
||||||
The function exc_info() should be used instead of these three,\n\
|
The function exc_info() should be used instead of these three,\n\
|
||||||
because it is thread-safe.\n\
|
because it is thread-safe.\n\
|
||||||
\n\
|
" /* !!! */ "\n\
|
||||||
Static objects:\n\
|
Static objects:\n\
|
||||||
\n\
|
\n\
|
||||||
maxint -- the largest supported integer (the smallest is -maxint-1)\n\
|
maxint -- the largest supported integer (the smallest is -maxint-1)\n\
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue