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
a7167cd7
Commit
a7167cd7
authored
Aug 31, 2000
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document PyOS_CheckStack().
Fix a couple of really minor markup nits.
parent
70490f71
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
Doc/api/api.tex
Doc/api/api.tex
+12
-2
No files found.
Doc/api/api.tex
View file @
a7167cd7
...
@@ -850,7 +850,8 @@ or by code that needs to save and restore the error indicator
...
@@ -850,7 +850,8 @@ or by code that needs to save and restore the error indicator
temporarily.
temporarily.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
void
}{
PyErr
_
Restore
}{
PyObject *type, PyObject *value, PyObject *traceback
}
\begin{cfuncdesc}
{
void
}{
PyErr
_
Restore
}{
PyObject *type, PyObject *value,
PyObject *traceback
}
Set the error indicator from the three objects. If the error
Set the error indicator from the three objects. If the error
indicator is already set, it is cleared first. If the objects are
indicator is already set, it is cleared first. If the objects are
\NULL
{}
, the error indicator is cleared. Do not pass a
\NULL
{}
type
\NULL
{}
, the error indicator is cleared. Do not pass a
\NULL
{}
type
...
@@ -858,7 +859,7 @@ and non-\NULL{} value or traceback. The exception type should be a
...
@@ -858,7 +859,7 @@ and non-\NULL{} value or traceback. The exception type should be a
string or class; if it is a class, the value should be an instance of
string or class; if it is a class, the value should be an instance of
that class. Do not pass an invalid exception type or value.
that class. Do not pass an invalid exception type or value.
(Violating these rules will cause subtle problems later.) This call
(Violating these rules will cause subtle problems later.) This call
takes away a reference to each object, i.e. you must own a reference
takes away a reference to each object, i.e.
\
you must own a reference
to each object before the call and after the call you no longer own
to each object before the call and after the call you no longer own
these references. (If you don't understand this, don't use this
these references. (If you don't understand this, don't use this
function. I warned you.)
\strong
{
Note:
}
This function is normally
function. I warned you.)
\strong
{
Note:
}
This function is normally
...
@@ -1062,6 +1063,15 @@ continue to be used. If a new executable is loaded into the new
...
@@ -1062,6 +1063,15 @@ continue to be used. If a new executable is loaded into the new
process, this function does not need to be called.
process, this function does not need to be called.
\end{cfuncdesc}
\end{cfuncdesc}
\begin{cfuncdesc}
{
int
}{
PyOS
_
CheckStack
}{}
Return true when the interpreter runs out of stack space. This is a
reliable check, but is only available when
\code
{
USE
_
STACKCHECK
}
is
defined (currently on Windows using the Microsoft Visual C++ compiler
and on the Macintosh).
\code
{
USE
_
CHECKSTACK
}
will be defined
automatically; you should never change the definition in your own
code.
\end{cfuncdesc}
\section
{
Process Control
\label
{
processControl
}}
\section
{
Process Control
\label
{
processControl
}}
...
...
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