MCPcopy Index your code
hub / github.com/python/cpython / fileno

Method fileno

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

Source from the content-addressed store, hash-verified

23 def __init__(self, fn):
24 self.fn = fn
25 def fileno(self):
26 return self.fn
27
28def try_lockf_on_other_process_fail(fname, cmd):
29 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
test_close_errorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected