Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ fileno
Method
fileno
Lib/test/test_select.py:88–90 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
86
a = []
87
class
F:
88
def
fileno(self):
89
del a[-1]
90
return
sys.__stdout__.fileno()
91
a[:] = [F()] * 10
92
self.assertEqual(select.select([], a, []), ([], a[:5], []))
93
Callers
1
test_errno
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected