This should work just fine.

On May 6, 2008, at 10:19 AM, Brian Granger wrote:
> Hi,
>
> I am wondering if there are any issues with declaring a regular python
> class in a pyx file.  Specifically, we need to define an exception
> like this:
>
> class FooError(Exception):
>     ...
>
> I have done this before and it seems to work, but are there any
> subtleties or things to be aware of?
>
> Thanks
>
> Brian
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev

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

Reply via email to