]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs...
authorSam Bull <git@sambull.org>
Wed, 28 Jun 2023 10:38:15 +0000 (11:38 +0100)
committerGitHub <noreply@github.com>
Wed, 28 Jun 2023 10:38:15 +0000 (16:08 +0530)
Doc/library/asyncio-eventloop.rst

index 8d0022cc66daacc6a0547c7b8bfb592b138b4460..38f2e2f510c1767193426a105773d16bdff9a602 100644 (file)
@@ -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