Cython has moved to github.

cython-devel

view tests/run/inlinepxd.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 151d8366f329
children
line source
1 __doc__ = u"""
2 >>> f()
3 3
4 >>> g()
5 6
6 >>> h()
7 6
8 """
10 cimport inlinepxd_support
11 from inlinepxd_support cimport my_add as my_add3
13 def f():
14 return my_add(1, 2)
16 def g():
17 return inlinepxd_support.my_add(1, 2, 3)
19 def h():
20 return my_add3(1, 2, 3)