summaryrefslogtreecommitdiff
path: root/asyncio/subprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'asyncio/subprocess.py')
-rw-r--r--asyncio/subprocess.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/asyncio/subprocess.py b/asyncio/subprocess.py
index ead4039..53a8c68 100644
--- a/asyncio/subprocess.py
+++ b/asyncio/subprocess.py
@@ -23,7 +23,6 @@ class SubprocessStreamProtocol(streams.FlowControlMixin,
super().__init__(loop=loop)
self._limit = limit
self.stdin = self.stdout = self.stderr = None
- self._transport = None
def __repr__(self):
info = [self.__class__.__name__]
@@ -36,7 +35,7 @@ class SubprocessStreamProtocol(streams.FlowControlMixin,
return '<%s>' % ' '.join(info)
def connection_made(self, transport):
- self._transport = transport
+ super().connection_made(transport)
stdout_transport = transport.get_pipe_transport(1)
if stdout_transport is not None: