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

Function fail

example_code/item_007.py:57–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56print("Example 2")
57def fail():
58 raise Exception("Oops")
59
60x = fail() if False else 20
61print(x)

Callers 1

item_007.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected