fix #675: make 'by' a non-keyword also in .pyx files
[cython.git] / tests / compile / jiba3.pyx
1 # mode: compile
2
3 cdef class Position
4 cdef class Point(Position)
5 cdef class Vector(Point)
6 cdef class CoordSyst
7
8 cdef void test(float* f):
9   pass
10
11 cdef class Position:
12   cdef readonly CoordSyst parent
13
14 cdef class Point(Position):
15   cdef void bug(self):
16     test(self.parent._matrix)
17
18 cdef class Vector(Point):
19   cdef void bug(self):
20     test(self.parent._matrix)
21
22 cdef class CoordSyst:
23   cdef float* _matrix
24