MCPcopy Index your code
hub / github.com/RustPython/RustPython / _make_self_pipe

Method _make_self_pipe

Lib/asyncio/selector_events.py:118–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 self._internal_fds -= 1
117
118 def _make_self_pipe(self):
119 # A self-socket, really. :-)
120 self._ssock, self._csock = socket.socketpair()
121 self._ssock.setblocking(False)
122 self._csock.setblocking(False)
123 self._internal_fds += 1
124 self._add_reader(self._ssock.fileno(), self._read_from_self)
125
126 def _process_self_data(self, data):
127 pass

Callers 1

__init__Method · 0.95

Calls 4

_add_readerMethod · 0.95
socketpairMethod · 0.45
setblockingMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected