MCPcopy Index your code
hub / github.com/RustPython/RustPython / fileno

Method fileno

Lib/test/test_fcntl.py:53–54  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 def __init__(self, fn):
52 self.fn = fn
53 def fileno(self):
54 return self.fn
55
56def try_lockf_on_other_process_fail(fname, cmd):
57 f = open(fname, 'wb+')

Callers 15

copyfileobjFunction · 0.45
serve_until_stoppedMethod · 0.45
_statstreamMethod · 0.45
setUpMethod · 0.45
test_createMethod · 0.45
test_context_managerMethod · 0.45
test_addMethod · 0.45
test_fromfdMethod · 0.45
test_control_and_waitMethod · 0.45
test_closeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected