From: Nicolas Dumazet Date: Thu, 19 Mar 2009 09:01:59 +0000 (+0900) Subject: Spam.amount attribute has to be declared. X-Git-Tag: 0.11.1.alpha~44 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59397e23cc8f783c9d421572a942855c54fd7dd4;p=cython.git Spam.amount attribute has to be declared. --- diff --git a/Demos/spam.pyx b/Demos/spam.pyx index f954f078..702e21ad 100644 --- a/Demos/spam.pyx +++ b/Demos/spam.pyx @@ -3,6 +3,7 @@ # cdef class Spam: + cdef public int amount def __new__(self): self.amount = 0