projects
/
cython.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Take first Cython step into function before reading variable in test
[cython.git]
/
Demos
/
spam.pyx
diff --git
a/Demos/spam.pyx
b/Demos/spam.pyx
index 702e21ade6b7acfb4f471ac56b8bfc20d9207242..2992d0a456c6924cef04e41a74a9b8e52b9b335e 100644
(file)
--- a/
Demos/spam.pyx
+++ b/
Demos/spam.pyx
@@
-5,7
+5,7
@@
cdef class Spam:
cdef public int amount
- def __
new
__(self):
+ def __
cinit
__(self):
self.amount = 0
def __dealloc__(self):