mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
asyncio.docs: Document Transport.is_closing (merge 3.4)
This commit is contained in:
commit
344904cf1f
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.5.1
|
||||
|
||||
.. method:: get_extra_info(name, default=None)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue