@@ -850,15 +850,16 @@ \chapter{Exception Handling \label{exceptionHandling}}
850850temporarily.
851851\end {cfuncdesc }
852852
853- \begin {cfuncdesc }{void}{PyErr_Restore}{PyObject *type, PyObject *value, PyObject *traceback}
853+ \begin {cfuncdesc }{void}{PyErr_Restore}{PyObject *type, PyObject *value,
854+ PyObject *traceback}
854855Set the error indicator from the three objects. If the error
855856indicator is already set, it is cleared first. If the objects are
856857\NULL {}, the error indicator is cleared. Do not pass a \NULL {} type
857858and non-\NULL {} value or traceback. The exception type should be a
858859string or class; if it is a class, the value should be an instance of
859860that class. Do not pass an invalid exception type or value.
860861(Violating these rules will cause subtle problems later.) This call
861- takes away a reference to each object, i.e. you must own a reference
862+ takes away a reference to each object, i.e.\ you must own a reference
862863to each object before the call and after the call you no longer own
863864these references. (If you don't understand this, don't use this
864865function. I warned you.) \strong {Note:} This function is normally
@@ -1062,6 +1063,15 @@ \section{OS Utilities \label{os}}
10621063process, this function does not need to be called.
10631064\end {cfuncdesc }
10641065
1066+ \begin {cfuncdesc }{int}{PyOS_CheckStack}{}
1067+ Return true when the interpreter runs out of stack space. This is a
1068+ reliable check, but is only available when \code {USE_STACKCHECK} is
1069+ defined (currently on Windows using the Microsoft Visual C++ compiler
1070+ and on the Macintosh). \code {USE_CHECKSTACK} will be defined
1071+ automatically; you should never change the definition in your own
1072+ code.
1073+ \end {cfuncdesc }
1074+
10651075
10661076\section {Process Control \label {processControl } }
10671077
0 commit comments