On 10/3/06, Dick Moores <[EMAIL PROTECTED]> wrote:
> Is there Python code for accessing an object's reference count?

See sys.getrefcount.

André Roberge
>
> And does it matter to Python what this count is, other than whether
> it is zero or greater than zero (for garbage collection)?
>
> Thanks,
>
> Dick Moores
>
> _______________________________________________
> Tutor maillist  -  [email protected]
> http://mail.python.org/mailman/listinfo/tutor
>
_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to