Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_wrapper
Class · 0.85
add_channel
Method · 0.80
fileno
Method · 0.45
Tested by
no test coverage detected