Skip to content

Commit 7bdf2c1

Browse files
[3.12] gh-105993: Add possible None return type to asyncio.EventLoop.start_tls docs (GH-105995) (#106188)
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 27bd2d1 commit 7bdf2c1

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
@@ -895,6 +895,9 @@ TLS Upgrade
895895
object only because the coder caches *protocol*-side data and sporadically
896896
exchanges extra TLS session packets with *transport*.
897897

898+
In some situations (e.g. when the passed transport is already closing) this
899+
may return ``None``.
900+
898901
Parameters:
899902

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

0 commit comments

Comments
 (0)