diff options
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/Demos/spam.pyx')
-rw-r--r-- | debian/pyrex/pyrex-0.9.9/Demos/spam.pyx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/debian/pyrex/pyrex-0.9.9/Demos/spam.pyx b/debian/pyrex/pyrex-0.9.9/Demos/spam.pyx deleted file mode 100644 index ab773378..00000000 --- a/debian/pyrex/pyrex-0.9.9/Demos/spam.pyx +++ /dev/null @@ -1,22 +0,0 @@ -# -# Example of an extension type. -# - -cdef class Spam: - - cdef int amount - - def __cinit__(self): - self.amount = 0 - - def __dealloc__(self): - print self.amount, "tons of spam is history." - - def get_amount(self): - return self.amount - - def set_amount(self, new_amount): - self.amount = new_amount - - def describe(self): - print self.amount, "tons of spam!" |