Commit 10849f5c authored by Robert Bradshaw's avatar Robert Bradshaw

change syntax for Cython's pxd

parent 2848d242
import cython
from Cython.Plex.Scanners cimport Scanner
cdef class CompileTimeScope:
......@@ -23,8 +25,5 @@ cdef class PyrexScanner(Scanner):
cpdef next(self)
cpdef bint expect(self, what, message = *) except -2
cpdef indentation_action(self, text):
cdef:
long current_level
long new_level
@cython.locals(current_level=long, new_level=long)
cpdef indentation_action(self, text)
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