Skip to content

Commit 0523f6d

Browse files
[3.11] gh-105993: Add possible None return type to asyncio.EventLoop.start_tls docs (GH-105995) (#106189)
gh-105993: Add possible `None` return type to `asyncio.EventLoop.start_tls` docs (GH-105995) (cherry picked from commit 6b52a58) Co-authored-by: Sam Bull <[email protected]>
1 parent 43c603a commit 0523f6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,9 @@ TLS Upgrade
878878
object only because the coder caches *protocol*-side data and sporadically
879879
exchanges extra TLS session packets with *transport*.
880880

881+
In some situations (e.g. when the passed transport is already closing) this
882+
may return ``None``.
883+
881884
Parameters:
882885

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

0 commit comments

Comments
 (0)