Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a266507

Browse files
Fix description about SimpleXMLRPCServer constructor parameter bind_and_activate. (pythonGH-776)
Passing True as the `bind_and_activate` *do* immediately opening and binding to their socket. (cherry picked from commit e622357) Co-authored-by: cocoatomo <[email protected]>
1 parent e3e8bdc commit a266507

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/whatsnew/2.6.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2607,7 +2607,7 @@ changes, or look through the Subversion logs for all the details.
26072607

26082608
* The XML-RPC :class:`~SimpleXMLRPCServer.SimpleXMLRPCServer` and :class:`~DocXMLRPCServer.DocXMLRPCServer`
26092609
classes can now be prevented from immediately opening and binding to
2610-
their socket by passing True as the ``bind_and_activate``
2610+
their socket by passing ``False`` as the *bind_and_activate*
26112611
constructor parameter. This can be used to modify the instance's
26122612
:attr:`allow_reuse_address` attribute before calling the
26132613
:meth:`server_bind` and :meth:`server_activate` methods to

0 commit comments

Comments
 (0)