1cpdef void unraisable(): 2 """ 3 >>> unraisable() 4 here 5 """ 6 print('here') 7 raise RuntimeError() 8 9cpdef void raisable() except *: 10 """ 11 >>> raisable() 12 Traceback (most recent call last): 13 ... 14 RuntimeError 15 """ 16 print('here') 17 raise RuntimeError() 18 19cdef class A: 20 """ 21 >>> A().foo() 22 A 23 """ 24 cpdef void foo(self): 25 print "A" 26 27cdef class B(A): 28 """ 29 >>> B().foo() 30 B 31 """ 32 cpdef void foo(self): 33 print "B" 34 35class C(B): 36 """ 37 >>> C().foo() 38 C 39 """ 40 def foo(self): 41 print "C" 42