def clear_check(self):
	ch = self._clear_hook
	try:
	    wr = list(ch)[0]
	except __HOLE__:
	    self.clear_setup()
	else:
	    c = wr()
	    if c is None:
		self.clear_setup()
	    elif self._root.sys.getrefcount(c) > 3:
		print 'GC hook object was referred to from somebody!'
		self.clear_callback(wr)
		c.cb.callback = None
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/guppy-0.1.10/guppy/heapy/View.py/_GLUECLAMP_.clear_check