summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:46:41 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:46:41 (GMT)
commit1744d5393074d5793563585b9a80921e741b7460 (patch)
treee4e0c5282c6bad23ed5769fab66f0f6f7c685b7b /Doc
parent5bb1afb3322ecf370cf328d40fb95eb0a3ddab7c (diff)
downloadcpython-1744d5393074d5793563585b9a80921e741b7460.zip
cpython-1744d5393074d5793563585b9a80921e741b7460.tar.gz
cpython-1744d5393074d5793563585b9a80921e741b7460.tar.bz2
asyncio.docs: Document Transport.is_closing
Diffstat (limited to 'Doc')
-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 e714488..9350ffe 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)