Skip to content

Commit 57a27e5

Browse files
committed
add err.py
1 parent 972afc1 commit 57a27e5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

samples/debug/err.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# err.py
2+
def foo(s):
3+
return 10 / int(s)
4+
5+
def bar(s):
6+
return foo(s) * 2
7+
8+
def main():
9+
bar('0')
10+
11+
main()
12+

0 commit comments

Comments
 (0)