[Python-checkins] r45988 - python/trunk/Doc/lib/libthread.tex python/trunk/Doc/lib/libtokenize.tex
george.yoshida
python-checkins at python.org
Sat May 13 08:53:32 CEST 2006
Author: george.yoshida
Date: Sat May 13 08:53:31 2006
New Revision: 45988
Modified:
python/trunk/Doc/lib/libthread.tex
python/trunk/Doc/lib/libtokenize.tex
Log:
Add \exception markup
Modified: python/trunk/Doc/lib/libthread.tex
==============================================================================
--- python/trunk/Doc/lib/libthread.tex (original)
+++ python/trunk/Doc/lib/libthread.tex Sat May 13 08:53:31 2006
@@ -44,8 +44,8 @@
\end{funcdesc}
\begin{funcdesc}{interrupt_main}{}
-Raise a KeyboardInterrupt in the main thread. A subthread can use this
-function to interrupt the main thread.
+Raise a \exception{KeyboardInterrupt} exception in the main thread. A subthread
+can use this function to interrupt the main thread.
\versionadded{2.3}
\end{funcdesc}
Modified: python/trunk/Doc/lib/libtokenize.tex
==============================================================================
--- python/trunk/Doc/lib/libtokenize.tex (original)
+++ python/trunk/Doc/lib/libtokenize.tex Sat May 13 08:53:31 2006
@@ -47,7 +47,7 @@
call to the function should return one line of input as a string.
Alternately, \var{readline} may be a callable object that signals
completion by raising \exception{StopIteration}.
- \versionchanged[Added StopIteration support]{2.5}
+ \versionchanged[Added \exception{StopIteration} support]{2.5}
The second parameter, \var{tokeneater}, must also be a callable
object. It is called once for each token, with five arguments,
More information about the Python-checkins
mailing list