mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
- fix use of \refmodule markup
- correct some module names, add hyperlinks - wrap some long lines
This commit is contained in:
parent
a3b8953233
commit
740f80029c
@ -2,11 +2,11 @@
|
||||
Drop-in replacement for the \module{thread} module}
|
||||
|
||||
\declaremodule[dummythread]{standard}{dummy_thread}
|
||||
\modulesynopsis{Drop-in replacement for the thread module.}
|
||||
\modulesynopsis{Drop-in replacement for the \refmodule{thread} module.}
|
||||
|
||||
This module provides a duplicate interface to the \refmodule{thread} module. It
|
||||
is meant to be imported when the \module{thread} module is not provided on a
|
||||
platform.
|
||||
This module provides a duplicate interface to the \refmodule{thread}
|
||||
module. It is meant to be imported when the \refmodule{thread} module
|
||||
is not provided on a platform.
|
||||
|
||||
Suggested usage is:
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
\section{\module{dummy_thread} ---
|
||||
\section{\module{dummy_threading} ---
|
||||
Drop-in replacement for the \module{threading} module}
|
||||
|
||||
\declaremodule[dummythreading]{standard}{dummy_threading}
|
||||
\modulesynopsis{Drop-in replacement for the threading module.}
|
||||
\modulesynopsis{Drop-in replacement for the \refmodule{threading} module.}
|
||||
|
||||
This module provides a duplicate interface to the \refmodule{threading} module. It
|
||||
is meant to be imported when the \module{threading} module is not provided on a
|
||||
platform.
|
||||
This module provides a duplicate interface to the
|
||||
\refmodule{threading} module. It is meant to be imported when the
|
||||
\refmodule{thread} module is not provided on a platform.
|
||||
|
||||
Suggested usage is:
|
||||
|
||||
|
@ -18,8 +18,9 @@ semaphores}) are provided.
|
||||
The module is optional. It is supported on Windows, Linux, SGI
|
||||
IRIX, Solaris 2.x, as well as on systems that have a \POSIX{} thread
|
||||
(a.k.a. ``pthread'') implementation. For systems lacking the \module{thread}
|
||||
module, the \refmodule{dummy_thread} module is available. It duplicates this
|
||||
module's interface and can be used as a drop-in replacement.
|
||||
module, the \refmodule[dummythread]{dummy_thread} module is available.
|
||||
It duplicates this module's interface and can be
|
||||
used as a drop-in replacement.
|
||||
\index{pthreads}
|
||||
\indexii{threads}{\POSIX}
|
||||
|
||||
|
@ -8,8 +8,9 @@
|
||||
This module constructs higher-level threading interfaces on top of the
|
||||
lower level \refmodule{thread} module.
|
||||
|
||||
The \refmodule{dummy_threading} module is provided for situations where
|
||||
\module{threading} cannot be used because \module{thread} is missing.
|
||||
The \refmodule[dummythreading]{dummy_threading} module is provided for
|
||||
situations where \module{threading} cannot be used because
|
||||
\refmodule{thread} is missing.
|
||||
|
||||
This module is safe for use with \samp{from threading import *}. It
|
||||
defines the following functions and objects:
|
||||
|
Loading…
Reference in New Issue
Block a user