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

Method _get_app_transport

Lib/asyncio/sslproto.py:374–380  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

372 self._waiter = None
373
374 def _get_app_transport(self):
375 if self._app_transport is None:
376 if self._app_transport_created:
377 raise RuntimeError('Creating _SSLProtocolTransport twice')
378 self._app_transport = _SSLProtocolTransport(self._loop, self)
379 self._app_transport_created = True
380 return self._app_transport
381
382 def _is_transport_closing(self):
383 return self._transport is not None and self._transport.is_closing()

Callers 2

__init__Method · 0.95

Calls 1

Tested by

no test coverage detected