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
1874c8f2
Commit
1874c8f2
authored
Feb 28, 2001
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document PyErr_WarnExplicit().
parent
c176132d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Doc/api/api.tex
Doc/api/api.tex
+9
-0
No files found.
Doc/api/api.tex
View file @
1874c8f2
...
...
@@ -980,6 +980,15 @@ For information about warning control, see the documentation for the
line documentation. There is no C API for warning control.
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
PyErr
_
WarnExplicit
}{
PyObject *category, char *message,
char *filename, int lineno, char *module, PyObject *registry
}
Issue a warning message with explicit control over all warning
attributes. This is a straightforward wrapper around the Python
function
\function
{
warnings.warn
_
explicit()
}
, see there for more
information. The
\var
{
module
}
and
\var
{
registry
}
arguments may be
set to
\code
{
NULL
}
to get the default effect described there.
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
PyErr
_
CheckSignals
}{}
This function interacts with Python's signal handling. It checks
whether a signal has been sent to the processes and if so, invokes the
...
...
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