mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Merge with 3.4
This commit is contained in:
@@ -567,8 +567,11 @@ Server
|
||||
|
||||
.. method:: close()
|
||||
|
||||
Stop serving: close all sockets and set the :attr:`sockets` attribute to
|
||||
``None``.
|
||||
Stop serving: close listening sockets and set the :attr:`sockets`
|
||||
attribute to ``None``.
|
||||
|
||||
The sockets that represent existing incoming client connections are
|
||||
leaved open.
|
||||
|
||||
The server is closed asynchonously, use the :meth:`wait_closed` coroutine
|
||||
to wait until the server is closed.
|
||||
|
||||
Reference in New Issue
Block a user