summaryrefslogtreecommitdiff
path: root/asyncio/unix_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'asyncio/unix_events.py')
-rw-r--r--asyncio/unix_events.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/asyncio/unix_events.py b/asyncio/unix_events.py
index 75e7c9c..323a27a 100644
--- a/asyncio/unix_events.py
+++ b/asyncio/unix_events.py
@@ -311,7 +311,6 @@ class _UnixReadPipeTransport(transports.ReadTransport):
raise ValueError("Pipe transport is for pipes/sockets only.")
_set_nonblocking(self._fileno)
self._protocol = protocol
- self._closing = False
self._loop.call_soon(self._protocol.connection_made, self)
# only start reading when connection_made() has been called
self._loop.call_soon(self._loop.add_reader,
@@ -424,7 +423,6 @@ class _UnixWritePipeTransport(transports._FlowControlMixin,
self._protocol = protocol
self._buffer = []
self._conn_lost = 0
- self._closing = False # Set when close() or write_eof() called.
self._loop.call_soon(self._protocol.connection_made, self)