Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ lineno
Method
lineno
Lib/fileinput.py:377–378 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
375
return
self._filename
376
377
def
lineno(self):
378
return
self._startlineno + self._filelineno
379
380
def
filelineno(self):
381
return
self._filelineno
Callers
5
_readline
Method · 0.95
test_buffer_sizes
Method · 0.95
test_zero_byte_files
Method · 0.95
test_files_that_dont_end_with_newline
Method · 0.95
lineno
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