summaryrefslogtreecommitdiffstats
path: root/Doc/library/asyncio-protocol.rst
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:47:15 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:47:15 (GMT)
commit344904cf1f357de7cf90b618c886cff0992721fb (patch)
tree6068cbfc8ed9658275122842f55ed6820715bc6f /Doc/library/asyncio-protocol.rst
parent1334f83de2e20829118226306147e05cdb8f2725 (diff)
parent1744d5393074d5793563585b9a80921e741b7460 (diff)
downloadcpython-344904cf1f357de7cf90b618c886cff0992721fb.zip
cpython-344904cf1f357de7cf90b618c886cff0992721fb.tar.gz
cpython-344904cf1f357de7cf90b618c886cff0992721fb.tar.bz2
asyncio.docs: Document Transport.is_closing (merge 3.4)
Diffstat (limited to 'Doc/library/asyncio-protocol.rst')
-rw-r--r--Doc/library/asyncio-protocol.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
index 9264343..295f1ed 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.5.1
.. method:: get_extra_info(name, default=None)