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

Method set_file

Lib/test/support/asyncore.py:656–659  ·  view source on GitHub ↗
(self, fd)

Source from the content-addressed store, hash-verified

654 os.set_blocking(fd, False)
655
656 def set_file(self, fd):
657 self.socket = file_wrapper(fd)
658 self._fileno = self.socket.fileno()
659 self.add_channel()

Callers 1

__init__Method · 0.95

Calls 3

file_wrapperClass · 0.85
add_channelMethod · 0.80
filenoMethod · 0.45

Tested by

no test coverage detected