File: test.py

package info (click to toggle)
pythontracer 8.10.16-1.2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 352 kB
  • ctags: 461
  • sloc: python: 441; ansic: 325; makefile: 9
file content (17 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import time

def g():
    time.sleep(0.1)
    print 'g'

def h():
    print 'h'
    1/0

def f():
    for i in xrange(10):
        g()
    h()

if __name__ == '__main__':
    f()