[Python-checkins] cpython (3.4): asyncio.docs: Document Transport.is_closing
yury.selivanov
python-checkins at python.org
Mon Nov 16 12:47:34 EST 2015
https://hg.python.org/cpython/rev/c52981d2fb25
changeset: 99174:c52981d2fb25
branch: 3.4
parent: 99171:52a87ee95685
user: Yury Selivanov <yselivanov at sprymix.com>
date: Mon Nov 16 12:46:41 2015 -0500
summary:
asyncio.docs: Document Transport.is_closing
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.4.4
.. method:: get_extra_info(name, default=None)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list