asyncio.docs: Document Transport.is_closing

This commit is contained in:
Yury Selivanov 2015-11-16 12:46:41 -05:00
parent 5bb1afb332
commit 1744d53930

View file

@ -41,6 +41,11 @@ BaseTransport
protocol's :meth:`connection_lost` method will be called with protocol's :meth:`connection_lost` method will be called with
:const:`None` as its argument. :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) .. method:: get_extra_info(name, default=None)