[Python-checkins] Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (GH-776)

Serhiy Storchaka webhook-mailer at python.org
Mon Mar 26 07:03:43 EDT 2018


https://github.com/python/cpython/commit/e6223579c87b93f3e60d28796f521587d88091d4
commit: e6223579c87b93f3e60d28796f521587d88091d4
branch: master
author: cocoatomo <cocoatomo77 at gmail.com>
committer: Serhiy Storchaka <storchaka at gmail.com>
date: 2018-03-26T14:03:40+03:00
summary:

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.

files:
M Doc/whatsnew/2.6.rst

diff --git a/Doc/whatsnew/2.6.rst b/Doc/whatsnew/2.6.rst
index 33d9f7ce43b1..ccfdbdce03e9 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



More information about the Python-checkins mailing list