From 59397e23cc8f783c9d421572a942855c54fd7dd4 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet Date: Thu, 19 Mar 2009 18:01:59 +0900 Subject: [PATCH] Spam.amount attribute has to be declared. --- Demos/spam.pyx | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2