summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/proactor_events.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:43:46 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-11-16 17:43:46 (GMT)
commitefbee31b4733c83b7358cce0ed49312f8df92608 (patch)
treead3377b237ae8c0de010235d212931b7f95eb4b7 /Lib/asyncio/proactor_events.py
parent0f53f2b1e59d68dc063ed67a0d192b4ef4b9ffcb (diff)
parent1334f83de2e20829118226306147e05cdb8f2725 (diff)
downloadcpython-efbee31b4733c83b7358cce0ed49312f8df92608.zip
cpython-efbee31b4733c83b7358cce0ed49312f8df92608.tar.gz
cpython-efbee31b4733c83b7358cce0ed49312f8df92608.tar.bz2
Merge 3.5
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r--Lib/asyncio/proactor_events.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index abe4c12..9c514c8 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -65,6 +65,9 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
def _set_extra(self, sock):
self._extra['pipe'] = sock
+ def is_closing(self):
+ return self._closing
+
def close(self):
if self._closing:
return