Cython has moved to github.

cython-devel

view tests/run/r_mcintyre1.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 >>> b = Bicycle()
3 >>> b.fall_off()
4 Falling off extremely hard
5 >>> b.fall_off("somewhat")
6 Falling off somewhat hard
7 """
9 class Bicycle:
11 def fall_off(self, how_hard = u"extremely"):
12 print u"Falling off", how_hard, u"hard"