diff options
author | cocoatomo <cocoatomo77@gmail.com> | 2018-03-26 11:03:40 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-03-26 11:03:40 (GMT) |
commit | e6223579c87b93f3e60d28796f521587d88091d4 (patch) | |
tree | 750d9a7b29472b2f3aee2740c0dbc88286c0cf47 | |
parent | 95ad3822a2b6287772bd752b6ab493c6d4198d4b (diff) | |
download | cpython-e6223579c87b93f3e60d28796f521587d88091d4.zip cpython-e6223579c87b93f3e60d28796f521587d88091d4.tar.gz cpython-e6223579c87b93f3e60d28796f521587d88091d4.tar.bz2 |
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.
-rw-r--r-- | Doc/whatsnew/2.6.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst index 33d9f7c..ccfdbdc 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -2611,7 +2611,7 @@ changes, or look through the Subversion logs for all the details. * The XML-RPC :class:`SimpleXMLRPCServer` and :class:`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 |