Re: Help for public Python extension types.

Greg Ewing <[email protected]> Sat, 28 Jun 2008 13:01:01 +1200
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Robert Bradshaw wrote:

> Here you're declaring a new class called X in your pyx file. What you  
> want to do is
> 
>      from test cimport X

No, he doesn't, because test.pxd and test.pyx are supposed
to be the declaration and implementation parts of the same
module.

The 'cimport test' is redundant, BTW, but it shouldn't do
any harm.

-- 
Greg