diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-03-26 12:11:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-26 12:11:15 (GMT) |
commit | a2665075cc2fb85129afdfd7a7f04dd70a38e582 (patch) | |
tree | 4034e54c6af8e619271c2c89d3476eb2eb1607b3 | |
parent | e3e8bdc5d30c8814b00e88f214cf94bf4d69a766 (diff) | |
download | cpython-a2665075cc2fb85129afdfd7a7f04dd70a38e582.zip cpython-a2665075cc2fb85129afdfd7a7f04dd70a38e582.tar.gz cpython-a2665075cc2fb85129afdfd7a7f04dd70a38e582.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.
(cherry picked from commit e6223579c87b93f3e60d28796f521587d88091d4)
Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
-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 7c43009..f4c742e 100644 --- a/Doc/whatsnew/2.6.rst +++ b/Doc/whatsnew/2.6.rst @@ -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 |