mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Nits. Reference to signal module becomes a hyperlink.
This commit is contained in:
parent
283c588402
commit
02e8c0fd2d
1 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
\section{\module{thread} ---
|
\section{\module{thread} ---
|
||||||
Multiple threads of control.}
|
Multiple threads of control}
|
||||||
\declaremodule{builtin}{thread}
|
|
||||||
|
|
||||||
|
\declaremodule{builtin}{thread}
|
||||||
\modulesynopsis{Create multiple threads of control within one interpreter.}
|
\modulesynopsis{Create multiple threads of control within one interpreter.}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -31,7 +31,7 @@ Raised on thread-specific errors.
|
||||||
This is the type of lock objects.
|
This is the type of lock objects.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{funcdesc}{start_new_thread}{function, args\optional{kwargs}}
|
\begin{funcdesc}{start_new_thread}{function, args\optional{, kwargs}}
|
||||||
Start a new thread. The thread executes the function \var{function}
|
Start a new thread. The thread executes the function \var{function}
|
||||||
with the argument list \var{args} (which must be a tuple). The
|
with the argument list \var{args} (which must be a tuple). The
|
||||||
optional \var{kwargs} argument specifies a dictionary of keyword
|
optional \var{kwargs} argument specifies a dictionary of keyword
|
||||||
|
|
@ -54,7 +54,7 @@ This is an obsolete synonym for \function{exit()}.
|
||||||
%\begin{funcdesc}{exit_prog}{status}
|
%\begin{funcdesc}{exit_prog}{status}
|
||||||
%Exit all threads and report the value of the integer argument
|
%Exit all threads and report the value of the integer argument
|
||||||
%\var{status} as the exit status of the entire program.
|
%\var{status} as the exit status of the entire program.
|
||||||
%\strong{Caveat:} code in pending \code{finally} clauses, in this thread
|
%\strong{Caveat:} code in pending \keyword{finally} clauses, in this thread
|
||||||
%or in other threads, is not executed.
|
%or in other threads, is not executed.
|
||||||
%\end{funcdesc}
|
%\end{funcdesc}
|
||||||
|
|
||||||
|
|
@ -103,7 +103,7 @@ some thread, \code{0} if not.
|
||||||
\item
|
\item
|
||||||
Threads interact strangely with interrupts: the
|
Threads interact strangely with interrupts: the
|
||||||
\exception{KeyboardInterrupt} exception will be received by an
|
\exception{KeyboardInterrupt} exception will be received by an
|
||||||
arbitrary thread. (When the \module{signal}\refbimodindex{signal}
|
arbitrary thread. (When the \refmodule{signal}\refbimodindex{signal}
|
||||||
module is available, interrupts always go to the main thread.)
|
module is available, interrupts always go to the main thread.)
|
||||||
|
|
||||||
\item
|
\item
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue