MCPcopy 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
93def close():
94 """Close the sequence."""
95 global _state
96 state = _state
97 _state = None
98 if state:
99 state.close()
100
101def nextfile():
102 """

Callers 3

fwalkFunction · 0.70
_fwalkFunction · 0.70
spawnFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…