summaryrefslogtreecommitdiffstatshomepage
path: root/tests/bytecode/mp-tests/continue1.py
blob: 3600691b1fe2badea922c5d3896c1022d6e7ba50 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
for a in b:
    continue

for a in b:
    try:
        f()
    except:
        continue
    g()

for a in b:
    try:
        f()
        continue
    except:
        g()

for a in b:
    try:
        f()
    except:
        try:
            g()
        except:
            continue

for a in b:
    try:
        f()
    except:
        try:
            g()
            continue
        except:
            h()

for a in b:
    try:
        f()
    except:
        pass
    else:
        continue
    g()