summaryrefslogtreecommitdiff
path: root/tests/run/r_toofewargs.pyx
blob: 0fad018a1aa1c169be04ec657ec5971eecf6bcd0 (plain)
1
2
3
4
5
6
7
8
9
10
__doc__ = u"""
    >>> s = Spam()
    Traceback (most recent call last):
    TypeError: __init__() takes exactly 3 positional arguments (0 given)
"""

cdef class Spam:

    def __init__(self, a, b, int c):
        pass