Commit 13e888fb authored by Stefan Behnel's avatar Stefan Behnel

simple test for extension class body

parent a0230a93
__doc__ = u"""
>>> s = Spam()
>>> s.a
1
>>> s.c
3
>>> s.test(5)
8
>>> s.b
3
"""
cdef class Spam:
a = 1
def test(self, a):
return a + self.c
b = a + 2
c = 3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment