[Tutor] Is there Python code for accessing an object's reference count?
Andre Roberge
andre.roberge at gmail.com
Tue Oct 3 12:25:19 CEST 2006
On 10/3/06, Dick Moores <rdm at rcblue.com> 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 - Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list