[Tutor] Is there Python code for accessing an object's reference count?

Dick Moores rdm at rcblue.com
Tue Oct 3 12:19:44 CEST 2006


Is there Python code for accessing an object's reference count?

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



More information about the Tutor mailing list