Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ set_file
Method
set_file
Lib/test/support/asyncore.py:646–649 ·
view source on GitHub ↗
(self, fd)
Source
from the content-addressed store, hash-verified
644
os.set_blocking(fd, False)
645
646
def
set_file(self, fd):
647
self.socket = file_wrapper(fd)
648
self._fileno = self.socket.fileno()
649
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