Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ close_all
Function
close_all
example_code/item_077.py:132–135 ·
view source on GitHub ↗
(handles)
Source
from the content-addressed store, hash-verified
130
return
paths
131
132
def
close_all(handles):
133
time.sleep(1)
134
for
handle in handles:
135
handle.close()
136
137
def
setup():
138
tmpdir = TemporaryDirectory()
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected