1__doc__ = u""" 2>>> what() 30 5 4>>> f(5) 5>>> what() 642 5 7>>> f(6) 8>>> what() 942 6 10>>> f("spam") 11>>> what() 1242 spam 13""" 14 15cdef int i = 0 16cdef x = 5 17 18def f(a): 19 global i, x 20 i = 42 21 x = a 22 23def what(): 24 print i,x 25