Getting the reference count

Makhno mak at imakhno.freeserve.co.uk
Sun Aug 27 03:46:00 EDT 2000


Is it possible to get the reference count of a PyObject* object?
I'm surre it must be, but I can't see it documented anywhere.

Something similar to Perl's SvREFCNT() Macro would be great.





More information about the Python-list mailing list