summaryrefslogtreecommitdiffstats
path: root/Doc/library/multiprocessing.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r--Doc/library/multiprocessing.rst12
1 files changed, 9 insertions, 3 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index f3dd23e..7e828b6 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -1537,8 +1537,8 @@ with the :class:`Pool` class.
.. method:: map(func, iterable[, chunksize])
- A parallel equivalent of the :func:`map` builtin function, collecting the
- result in a list. It blocks till the whole result is ready.
+ A parallel equivalent of the :func:`map` builtin function (it supports only
+ one *iterable* argument though). It blocks till the result is ready.
This method chops the iterable into a number of chunks which it submits to
the process pool as separate tasks. The (approximate) size of these
@@ -1697,6 +1697,12 @@ authentication* using the :mod:`hmac` module.
*address* is the address to be used by the bound socket or named pipe of the
listener object.
+ .. note::
+
+ If an address of '0.0.0.0' is used, the address will not be a connectable
+ end point on Windows. If you require a connectable end-point,
+ you should use '127.0.0.1'.
+
*family* is the type of socket (or named pipe) to use. This can be one of
the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix
domain socket) or ``'AF_PIPE'`` (for a Windows named pipe). Of these only
@@ -1839,7 +1845,7 @@ return value of ``current_process().authkey`` is used (see
any :class:`~multiprocessing.Process` object that the current process creates.
This means that (by default) all processes of a multi-process program will share
a single authentication key which can be used when setting up connections
-between the themselves.
+between themselves.
Suitable authentication keys can also be generated by using :func:`os.urandom`.