Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776)
Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket.
(cherry picked from commit e6223579c8
)
Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
This commit is contained in:
parent
e3e8bdc5d3
commit
a2665075cc
|
@ -2607,7 +2607,7 @@ changes, or look through the Subversion logs for all the details.
|
|||
|
||||
* The XML-RPC :class:`~SimpleXMLRPCServer.SimpleXMLRPCServer` and :class:`~DocXMLRPCServer.DocXMLRPCServer`
|
||||
classes can now be prevented from immediately opening and binding to
|
||||
their socket by passing True as the ``bind_and_activate``
|
||||
their socket by passing ``False`` as the *bind_and_activate*
|
||||
constructor parameter. This can be used to modify the instance's
|
||||
:attr:`allow_reuse_address` attribute before calling the
|
||||
:meth:`server_bind` and :meth:`server_activate` methods to
|
||||
|
|
Loading…
Reference in New Issue