[Python-checkins] cpython (merge 3.4 -> 3.5): asyncio.docs: Document Transport.is_closing (merge 3.4)

yury.selivanov python-checkins at python.org
Mon Nov 16 12:47:34 EST 2015


https://hg.python.org/cpython/rev/a0c82833b892
changeset:   99175:a0c82833b892
branch:      3.5
parent:      99172:cddbb9c622e1
parent:      99174:c52981d2fb25
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Mon Nov 16 12:47:15 2015 -0500
summary:
  asyncio.docs: Document Transport.is_closing (merge 3.4)

files:
  Doc/library/asyncio-protocol.rst |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -41,6 +41,11 @@
       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)
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list