Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ filelineno
Method
filelineno
Lib/fileinput.py:380–381 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
378
return
self._startlineno + self._filelineno
379
380
def
filelineno(self):
381
return
self._filelineno
382
383
def
fileno(self):
384
if
self._file:
Callers
4
test_buffer_sizes
Method · 0.95
test_zero_byte_files
Method · 0.95
test_files_that_dont_end_with_newline
Method · 0.95
filelineno
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_buffer_sizes
Method · 0.76
test_zero_byte_files
Method · 0.76
test_files_that_dont_end_with_newline
Method · 0.76