File: examples.py

package info (click to toggle)
python-tblib 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 1,118; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 291 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
26
def func_a(_):
    func_b()


def func_b():
    func_c()


def func_c():
    func_d()


def func_d():
    raise Exception('Guessing time !')


def bad_syntax():
    import badsyntax  # noqa: PLC0415

    badsyntax()


def bad_module():
    import badmodule  # noqa: PLC0415

    badmodule()