B
Brian
Hello;
Is it possible to get an object to return the number of references there
are to itself?
Ex:
class test(object):
pass
a = test()
b = a
# Should print "2", if I knew the name of the method.
print a.refCount()
Many thanks,
Brian.
Is it possible to get an object to return the number of references there
are to itself?
Ex:
class test(object):
pass
a = test()
b = a
# Should print "2", if I knew the name of the method.
print a.refCount()
Many thanks,
Brian.