Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ register
Method
register
Lib/_pyrepl/unix_console.py:129–130 ·
view source on GitHub ↗
(self, fd, flag)
Source
from the content-addressed store, hash-verified
127
pass
128
129
def
register(self, fd, flag):
130
self.fd = fd
131
132
# note: The 'timeout' argument is received as *milliseconds*
133
def
poll(self, timeout: float | None = None) -> list[int]:
Callers
1
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected