Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bf26e070
Commit
bf26e070
authored
Jul 12, 2000
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Worm around MSVC6 error on single string literal > 2Kb.
parent
38f74419
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
Python/exceptions.c
Python/exceptions.c
+7
-2
No files found.
Python/exceptions.c
View file @
bf26e070
...
...
@@ -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 @@ interpreter.\n\
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
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment