On Feb 9, 2010, at 1:18 AM, Stefan Behnel wrote:

>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
> cdef class Multiplier:
>    cdef testapi.Multiplier* multiplier
>
>    def __cinit__(self, factor=None):
>        if factor is None:
>            self.multiplier = new testapi.Multiplier()
>                                                     ^
> ------------------------------------------------------------
>
> .../pytestapi.pyx:9:54: Expected ')'
>
> Totally weird kind of error, given that it points to the closing
> parenthesis already.

This should work as expected now in cython-devel.

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to