diff Doc/api/api.tex @ 18438:05c49346b68b legacy-trunk

Fix for SF bug #436525, reported by Greg Kochanski: The block/unblock thread macros are called 'Py_BLOCK_THREADS' and 'Py_UNBLOCK_THREADS', not 'Py_BEGIN_BLOCK_THREADS' and 'Py_BEGIN_UNBLOCK_THREADS'.
author Thomas Wouters <thomas@python.org>
date Mon, 09 Jul 2001 14:35:01 +0000
parents 19bc63a84439
children ca2ea75df3f2
line wrap: on
line diff
--- a/Doc/api/api.tex	Mon Jul 09 12:30:54 2001 +0000
+++ b/Doc/api/api.tex	Mon Jul 09 14:35:01 2001 +0000
@@ -4598,14 +4598,14 @@
 disabled at compile time.
 \end{csimplemacrodesc}
 
-\begin{csimplemacrodesc}{Py_BEGIN_BLOCK_THREADS}
+\begin{csimplemacrodesc}{Py_BLOCK_THREADS}
 This macro expands to \samp{PyEval_RestoreThread(_save);} i.e. it
 is equivalent to \code{Py_END_ALLOW_THREADS} without the closing
 brace.  It is a no-op when thread support is disabled at compile
 time.
 \end{csimplemacrodesc}
 
-\begin{csimplemacrodesc}{Py_BEGIN_UNBLOCK_THREADS}
+\begin{csimplemacrodesc}{Py_UNBLOCK_THREADS}
 This macro expands to \samp{_save = PyEval_SaveThread();} i.e. it is
 equivalent to \code{Py_BEGIN_ALLOW_THREADS} without the opening brace
 and variable declaration.  It is a no-op when thread support is