home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_1925 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  701 b   |  18 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import gc
  5.  
  6. class C(object):
  7.     
  8.     def __del__(self):
  9.         pass
  10.  
  11.  
  12. if __name__ == '__main__':
  13.     c = C()
  14.     c_refs = gc.get_referrers(c)
  15.     ref_ids = map(id, c_refs)
  16.     print 'c referrers:', map(type, c_refs)
  17.  
  18.