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