MCPcopy Index your code
hub / github.com/python/cpython / _maybe_close_transport

Method _maybe_close_transport

Lib/asyncio/subprocess.py:108–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

106 self._maybe_close_transport()
107
108 def _maybe_close_transport(self):
109 if len(self._pipe_fds) == 0 and self._process_exited:
110 self._transport.close()
111 self._transport = None
112
113 def _get_close_waiter(self, stream):
114 if stream is self.stdin:

Callers 2

pipe_connection_lostMethod · 0.95
process_exitedMethod · 0.95

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected