diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:46:41 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-16 17:46:41 (GMT) |
commit | 1744d5393074d5793563585b9a80921e741b7460 (patch) | |
tree | e4e0c5282c6bad23ed5769fab66f0f6f7c685b7b | |
parent | 5bb1afb3322ecf370cf328d40fb95eb0a3ddab7c (diff) | |
download | cpython-1744d5393074d5793563585b9a80921e741b7460.zip cpython-1744d5393074d5793563585b9a80921e741b7460.tar.gz cpython-1744d5393074d5793563585b9a80921e741b7460.tar.bz2 |
asyncio.docs: Document Transport.is_closing
-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 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) |