Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Function
close
Lib/fileinput.py:93–99 ·
view source on GitHub ↗
Close the sequence.
()
Source
from the content-addressed store, hash-verified
91
return
_state
92
93
def
close():
94
""
"Close the sequence."
""
95
global _state
96
state = _state
97
_state = None
98
if
state:
99
state.close()
100
101
def
nextfile():
102
""
"
Callers
3
fwalk
Function · 0.70
_fwalk
Function · 0.70
spawn
Function · 0.70
Calls
1
close
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…