Cython has moved to github.

cython-devel

view tests/run/extpropertyref.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 612957ef6e8f
children 82d312a9f1fc
line source
1 __doc__ = u"""
2 >>> tomato()
3 42
4 """
6 cdef class Spam:
8 property eggs:
10 def __get__(self):
11 return 42
13 def tomato():
14 cdef Spam spam
15 cdef object lettuce
16 spam = Spam()
17 lettuce = spam.eggs
18 return lettuce