File: tbhide_demo.py

package info (click to toggle)
python-pyinstrument 5.1.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,620 kB
  • sloc: python: 6,713; ansic: 897; makefile: 46; sh: 20; javascript: 18
file content (25 lines) | stat: -rw-r--r-- 224 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import time


def D():
    time.sleep(0.7)


def C():
    __tracebackhide__ = True
    time.sleep(0.1)
    D()


def B():
    __tracebackhide__ = True
    time.sleep(0.1)
    C()


def A():
    time.sleep(0.1)
    B()


A()