mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
asyncio.docs: Document Transport.is_closing
This commit is contained in:
parent
5bb1afb332
commit
1744d53930
1 changed files with 5 additions and 0 deletions
|
|
@ -41,6 +41,11 @@ BaseTransport
|
|||
protocol's :meth:`connection_lost` method will be called with
|
||||
:const:`None` as its argument.
|
||||
|
||||
.. method:: is_closing(self)
|
||||
|
||||
Return ``True`` if the transport is closing or is closed.
|
||||
|
||||
.. versionadded:: 3.4.4
|
||||
|
||||
.. method:: get_extra_info(name, default=None)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue