Cython has moved to github.

cython-devel

view tests/run/r_toofewargs.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 b266823a2719
children
line source
1 __doc__ = u"""
2 >>> s = Spam()
3 Traceback (most recent call last):
4 TypeError: __init__() takes exactly 3 positional arguments (0 given)
5 """
7 cdef class Spam:
9 def __init__(self, a, b, int c):
10 pass