From: Yury Selivanov Date: Mon, 16 Nov 2015 17:47:15 +0000 (-0500) Subject: asyncio.docs: Document Transport.is_closing (merge 3.4) X-Git-Tag: v3.5.1rc1~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=344904cf1f357de7cf90b618c886cff0992721fb;p=thirdparty%2FPython%2Fcpython.git asyncio.docs: Document Transport.is_closing (merge 3.4) --- 344904cf1f357de7cf90b618c886cff0992721fb diff --cc Doc/library/asyncio-protocol.rst index 9264343db607,9350ffedeb7e..295f1edc12c1 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@@ -41,6 -41,11 +41,11 @@@ BaseTranspor 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 ++ .. versionadded:: 3.5.1 .. method:: get_extra_info(name, default=None)