From: Yury Selivanov Date: Mon, 16 Nov 2015 17:46:41 +0000 (-0500) Subject: asyncio.docs: Document Transport.is_closing X-Git-Tag: v3.5.1rc1~31^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1744d5393074d5793563585b9a80921e741b7460;p=python asyncio.docs: Document Transport.is_closing --- diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index e714488eaf..9350ffedeb 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -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)