Cython has moved to github.

cython-devel

view tests/run/r_lepage_3.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 6309e21af543
children
line source
1 __doc__ = u"""
2 >>> g = Grail()
3 >>> g("spam", 42, ["tomato", "sandwich"])
4 Grail called with: spam 42 ['tomato', 'sandwich']
5 """
7 cdef class Grail:
9 def __call__(self, x, y, z):
10 print u"Grail called with:", x, y, z