bpo-39797 Changes to socketserver.BaseServer's shutdown() method. (GH-18929)

Automerge-Triggered-By: @ned-deily
This commit is contained in:
amaajemyfren 2020-03-20 11:03:18 +03:00 committed by GitHub
parent 7bf069b611
commit 2de7ac9798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,8 @@ Server Objects
.. method:: shutdown()
Tell the :meth:`serve_forever` loop to stop and wait until it does.
:meth:`shutdown` must be called while :meth:`serve_forever` is running in a
different thread otherwise it will deadlock.
.. method:: server_close()