Skip to content

Commit

Permalink
add err.py
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelliao committed May 18, 2015
1 parent 972afc1 commit 57a27e5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions samples/debug/err.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# err.py
def foo(s):
return 10 / int(s)

def bar(s):
return foo(s) * 2

def main():
bar('0')

main()

0 comments on commit 57a27e5

Please sign in to comment.