MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / close_all

Function close_all

example_code/item_078.py:214–217  ·  view source on GitHub ↗
(handles)

Source from the content-addressed store, hash-verified

212 return paths
213
214def close_all(handles):
215 time.sleep(1)
216 for handle in handles:
217 handle.close()
218
219def setup():
220 tmpdir = TemporaryDirectory()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected