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
6ddf189a
Commit
6ddf189a
authored
Sep 16, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New API PyErr_NewException(name, base, dict) to create simple new exceptions.
parent
3ed08d56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Include/pyerrors.h
Include/pyerrors.h
+4
-0
No files found.
Include/pyerrors.h
View file @
6ddf189a
...
...
@@ -90,6 +90,10 @@ extern PyObject *PyErr_Format Py_PROTO((PyObject *, const char *, ...));
extern
void
PyErr_BadInternalCall
Py_PROTO
((
void
));
/* Function to create a new exception */
PyObject
*
PyErr_NewException
Py_PROTO
((
char
*
name
,
PyObject
*
base
,
PyObject
*
dict
));
/* In sigcheck.c or signalmodule.c */
extern
int
PyErr_CheckSignals
Py_PROTO
((
void
));
extern
void
PyErr_SetInterrupt
Py_PROTO
((
void
));
...
...
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