On Sep 8, 2009, at 5:00 PM, Greg Ewing wrote:

> Sebastien Binet wrote:
>>     object PyDict_Copy(object p)
>>     PyObject* PyDict_GetItem(object p, object key)
>>
>> are they just syntaxic sugar, sweeting the pot to the very same  
>> thing ?
>
> I think PyObject * has been used for PyDict_GetItem because it
> returns a borrowed reference.

Exactly. You probably only need to use object.

- Robert

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

Reply via email to