[Numpy-discussion] inconsistencies between docs and C headers?

Todd Miller jmiller at stsci.edu
Tue Jul 6 06:58:09 CDT 2004


On Tue, 2004-07-06 at 05:41, Curzio Basso wrote:
> Hi all,
> can someone explain me why in the docs functions like NA_NewArray() 
> return a PyObject*, while in the headers they return a PyArrayObject*? 
> Is it just the documentation which is slow to catch up with the 
> development? 

Yes,  it's a bona fide inconsistency.  It's not great,  but it's fairly 
harmless since a PyArrayObject is a PyObject.





More information about the Numpy-discussion mailing list