Commit 824b6ca2 authored by Robert Bradshaw's avatar Robert Bradshaw

Pure decorators now implemented.

parent d0d64d84
...@@ -142,11 +142,10 @@ Pointer types may be constructed with ``cython.pointer(cython.int)``, and ...@@ -142,11 +142,10 @@ Pointer types may be constructed with ``cython.pointer(cython.int)``, and
arrays as ``cython.int[10]``. A limited attempt is made to emulate these more arrays as ``cython.int[10]``. A limited attempt is made to emulate these more
complex types, but only so much can be done from the Python language. complex types, but only so much can be done from the Python language.
Decorators (not yet implemented) Decorators
-------------------------------- --------------------------------
We have settled on ``@cython.cclass`` for the ``cdef class`` Use the ``@cython.cclass`` decorator to create a ``cdef class``.
decorators, and ``@cython.cfunc`` and ``@cython.ccall`` for :keyword:`cdef` and Use the ``@cython.cfunc`` and ``@cython.ccall`` decorators for :keyword:`cdef`
:keyword:`cpdef` functions (respectively). and :keyword:`cpdef` functions (respectively).
http://codespeak.net/pipermail/cython-dev/2008-November/002925.html
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