]> granicus.if.org Git - python/commitdiff
Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 26 Mar 2018 12:20:25 +0000 (05:20 -0700)
committerGitHub <noreply@github.com>
Mon, 26 Mar 2018 12:20:25 +0000 (05:20 -0700)
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>
Doc/whatsnew/2.6.rst

index 45b0ab9f3453677b40f1d434af44e3793b7a570f..e57efee85bd9bf1d99ac7d9115b23bbb50d955bb 100644 (file)
@@ -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