Skip to content

Commit f91dfdf

Browse files
[3.10] gh-105993: Add possible None return type to asyncio.EventLoop.start_tls docs (GH-105995) (#106190)
(cherry picked from commit 6b52a58) Co-authored-by: Sam Bull <[email protected]>
1 parent 073c660 commit f91dfdf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/asyncio-eventloop.rst

+3
Original file line numberDiff line numberDiff line change
@@ -830,6 +830,9 @@ TLS Upgrade
830830
object only because the coder caches *protocol*-side data and sporadically
831831
exchanges extra TLS session packets with *transport*.
832832

833+
In some situations (e.g. when the passed transport is already closing) this
834+
may return ``None``.
835+
833836
Parameters:
834837

835838
* *transport* and *protocol* instances that methods like

0 commit comments

Comments
 (0)