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