Kaydet (Commit) 8b2cbfd1 authored tarafından Armin Rigo's avatar Armin Rigo

Let's not use string exceptions any more.

üst e6e77e5f
......@@ -29,7 +29,8 @@ def handlerA(*args):
if verbose:
print "handlerA", args
HandlerBCalled = "HandlerBCalled" # Exception
class HandlerBCalled(Exception):
pass
def handlerB(*args):
if verbose:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment