From 1744d5393074d5793563585b9a80921e741b7460 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Mon, 16 Nov 2015 12:46:41 -0500 Subject: [PATCH] asyncio.docs: Document Transport.is_closing --- Doc/library/asyncio-protocol.rst | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.40.0