Commit b6960765 authored by Stefan Behnel's avatar Stefan Behnel

extended test case

parent a6efb9ac
__doc__ = u"""
>>> s = Spam()
>>> s.a
1
2
>>> s.c
3
>>> s.test(5)
8
13
>>> s.b
3
5
"""
cdef class Spam:
a = 1
def test(self, a):
return a + self.c
b = a + 2
c = 3
return a + self.b + self.c
b = a + 2 # 3
a = b - 1 # 2
c = 3 # 3
b = c + a # 5
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