diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:47:15 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:47:15 (GMT) |
commit | 344904cf1f357de7cf90b618c886cff0992721fb (patch) | |
tree | 6068cbfc8ed9658275122842f55ed6820715bc6f /Doc/library/asyncio-protocol.rst | |
parent | 1334f83de2e20829118226306147e05cdb8f2725 (diff) | |
parent | 1744d5393074d5793563585b9a80921e741b7460 (diff) | |
download | cpython-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.rst | 5 |
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) |