MCPcopy 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
86print("Example 3")
87def is_closed(_):
88 pass
89
90if is_closed(connection):
91 # Was the connection closed because of an error

Callers 1

item_083.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected