mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
[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 6b52a581c1
)
Co-authored-by: Sam Bull <git@sambull.org>
This commit is contained in:
parent
43c603a60f
commit
0523f6de1f
1 changed files with 3 additions and 0 deletions
|
@ -878,6 +878,9 @@ TLS Upgrade
|
||||||
object only because the coder caches *protocol*-side data and sporadically
|
object only because the coder caches *protocol*-side data and sporadically
|
||||||
exchanges extra TLS session packets with *transport*.
|
exchanges extra TLS session packets with *transport*.
|
||||||
|
|
||||||
|
In some situations (e.g. when the passed transport is already closing) this
|
||||||
|
may return ``None``.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
* *transport* and *protocol* instances that methods like
|
* *transport* and *protocol* instances that methods like
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue