From: Sam Bull Date: Wed, 28 Jun 2023 10:38:15 +0000 (+0100) Subject: gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs... X-Git-Tag: v3.13.0a1~1616 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b52a581c151914e59c8c367a03bc7309713a73b;p=thirdparty%2FPython%2Fcpython.git gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (#105995) --- diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst index 8d0022cc66da..38f2e2f510c1 100644 --- a/Doc/library/asyncio-eventloop.rst +++ b/Doc/library/asyncio-eventloop.rst @@ -895,6 +895,9 @@ TLS Upgrade object only because the coder caches *protocol*-side data and sporadically exchanges extra TLS session packets with *transport*. + In some situations (e.g. when the passed transport is already closing) this + may return ``None``. + Parameters: * *transport* and *protocol* instances that methods like