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

Method _make_self_pipe

Lib/asyncio/proactor_events.py:784–789  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

782 self._internal_fds -= 1
783
784 def _make_self_pipe(self):
785 # A self-socket, really. :-)
786 self._ssock, self._csock = socket.socketpair()
787 self._ssock.setblocking(False)
788 self._csock.setblocking(False)
789 self._internal_fds += 1
790
791 def _loop_self_reading(self, f=None):
792 try:

Callers 1

__init__Method · 0.95

Calls 2

socketpairMethod · 0.45
setblockingMethod · 0.45

Tested by

no test coverage detected