Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ is_closed
Function
is_closed
example_code/item_083.py:87–88 ·
view source on GitHub ↗
(_)
Source
from the content-addressed store, hash-verified
85
86
print(
"Example 3"
)
87
def
is_closed(_):
88
pass
89
90
if
is_closed(connection):
91
# Was the connection closed because of an error
Callers
1
item_083.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected