summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Yoshida <dynkin@gmail.com>2006-05-13 06:53:31 (GMT)
committerGeorge Yoshida <dynkin@gmail.com>2006-05-13 06:53:31 (GMT)
commit90df06e5e2cf839d94e54bad57e524dca2a3ec42 (patch)
tree16c595365ddda5a633fed4fe69e4107feeeda67b
parent2b161d90383f567ffc806aeb8c57fd47da311528 (diff)
downloadcpython-90df06e5e2cf839d94e54bad57e524dca2a3ec42.zip
cpython-90df06e5e2cf839d94e54bad57e524dca2a3ec42.tar.gz
cpython-90df06e5e2cf839d94e54bad57e524dca2a3ec42.tar.bz2
Add \exception markup
-rw-r--r--Doc/lib/libthread.tex4
-rw-r--r--Doc/lib/libtokenize.tex2
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libthread.tex b/Doc/lib/libthread.tex
index 9e0c202..9573ab3 100644
--- a/Doc/lib/libthread.tex
+++ b/Doc/lib/libthread.tex
@@ -44,8 +44,8 @@ then the thread exits (but other threads continue to run).
\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}
diff --git a/Doc/lib/libtokenize.tex b/Doc/lib/libtokenize.tex
index cdbb4b8..8c9ad3e 100644
--- a/Doc/lib/libtokenize.tex
+++ b/Doc/lib/libtokenize.tex
@@ -47,7 +47,7 @@ An older entry point is retained for backward compatibility:
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,