8000 Fix description about SimpleXMLRPCServer constructor parameter bind_a… · python/cpython@e622357 · GitHub
[go: up one dir, main page]

Skip to content

Commit e622357

Browse files
cocoatomoserhiy-storchaka
authored andcommitted
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.
1 parent 95ad382 commit e622357

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
@@ -2611,7 +2611,7 @@ changes, or look through the Subversion logs for all the details.
26112611

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

0 commit comments

Comments
 (0)
0