Skip to content
Snippets Groups Projects
Select Git revision
  • 7ddd85f933f18deff49bc6af520d4dc8d7be6282
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

math.c

Blame
  • try4.py 330 B
    # triple nested exceptions
    
    def f():
        try:
            foo()
        except:
            print("except 1")
            try:
                bar()
            except:
                print("except 2")
                try:
                    baz()
                except:
                    print("except 3")
                bak()
    
    try:
        f()
    except:
        print("f except")