Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ filename
Method
filename
Lib/fileinput.py:374–375 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
372
return
self._readline()
373
374
def
filename(self):
375
return
self._filename
376
377
def
lineno(self):
378
return
self._startlineno + self._filelineno
Callers
3
test_buffer_sizes
Method · 0.95
test_zero_byte_files
Method · 0.95
filename
Function · 0.45
Calls
no outgoing calls
Tested by
2
test_buffer_sizes
Method · 0.76
test_zero_byte_files
Method · 0.76