mirror of
https://github.com/python/cpython.git
synced 2025-11-12 07:02:33 +00:00
gh-105993: Add possible None return type to asyncio.EventLoop.start_tls docs (#105995)
This commit is contained in:
parent
a3dd8cce58
commit
6b52a581c1
1 changed files with 3 additions and 0 deletions
|
|
@ -895,6 +895,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