MCPcopy Index your code
hub / github.com/RustPython/RustPython / 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 7

fwalkFunction · 0.70
_fwalkFunction · 0.70
closeMethod · 0.50
_stop_lockedMethod · 0.50
stopMethod · 0.50
_afterforkMethod · 0.50
_serveMethod · 0.50

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected