Cython has moved to github.

cython-devel

view tests/run/ass2global.pyx @ 1622:4f0327bdebc9

test for temp allocation bug in call
author Robert Bradshaw <robertwb@math.washington.edu>
date Sat Jan 17 01:25:34 2009 -0800 (3 years ago)
parents 585d725fe537
children
line source
1 __doc__ = u"""
2 >>> getg()
3 5
4 >>> f(42)
5 >>> getg()
6 42
7 """
9 g = 5
11 def f(a):
12 global g
13 g = a
15 def getg():
16 return g