gh-120866: Document behavior change of asyncio.Server.wait_closed() since 3.12 (GH-154676)
(cherry picked from commit
222a8bf3259b6fae2132c9278aa9ecff68a99b2a)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Wait until the :meth:`close` method completes and all active
connections have finished.
+ .. versionchanged:: 3.12
+ ``wait_closed()`` now waits until the server is closed and
+ all active connections have finished. Previously, it returned
+ immediately if the server was already closed, even if
+ connections were still active.
+
.. attribute:: sockets
List of socket-like objects, ``asyncio.trsock.TransportSocket``, which