diff options
author | Georg Brandl <georg@python.org> | 2009-01-02 20:25:14 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-01-02 20:25:14 (GMT) |
commit | fc29f27c162a236d2d879ab3fb803110628a0ccf (patch) | |
tree | cc68b3ee5ebf96d0e63161394c80a499f21ecae5 /Doc/library/multiprocessing.rst | |
parent | 511048673f8635b12f683eb9fc09f42c8ab871c7 (diff) | |
download | cpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.zip cpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.tar.gz cpython-fc29f27c162a236d2d879ab3fb803110628a0ccf.tar.bz2 |
#4811: fix markup glitches (mostly remains of the conversion),
found by Gabriel Genellina.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 6f4a3f1..bf2d058 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -1138,18 +1138,18 @@ their parent process exits. The manager classes are defined in the Returns a :class:`Server` object which represents the actual server under the control of the Manager. The :class:`Server` object supports the - :meth:`serve_forever` method:: + :meth:`serve_forever` method: - >>> from multiprocessing.managers import BaseManager - >>> m = BaseManager(address=('', 50000), authkey='abc')) - >>> server = m.get_server() - >>> s.serve_forever() + >>> from multiprocessing.managers import BaseManager + >>> m = BaseManager(address=('', 50000), authkey='abc')) + >>> server = m.get_server() + >>> s.serve_forever() - :class:`Server` additionally have an :attr:`address` attribute. + :class:`Server` additionally have an :attr:`address` attribute. .. method:: connect() - Connect a local manager object to a remote manager process:: + Connect a local manager object to a remote manager process: >>> from multiprocessing.managers import BaseManager >>> m = BaseManager(address='127.0.0.1', authkey='abc)) @@ -1295,7 +1295,7 @@ Customized managers >>>>>>>>>>>>>>>>>>> To create one's own manager, one creates a subclass of :class:`BaseManager` and -use the :meth:`~BaseManager.resgister` classmethod to register new types or +use the :meth:`~BaseManager.register` classmethod to register new types or callables with the manager class. For example:: from multiprocessing.managers import BaseManager @@ -1811,7 +1811,7 @@ Address Formats * An ``'AF_PIPE'`` address is a string of the form :samp:`r'\\\\.\\pipe\\{PipeName}'`. To use :func:`Client` to connect to a named - pipe on a remote computer called ServerName* one should use an address of the + pipe on a remote computer called *ServerName* one should use an address of the form :samp:`r'\\\\{ServerName}\\pipe\\{PipeName}'`` instead. Note that any string beginning with two backslashes is assumed by default to be |