测量对象的引用次数

import  sys
sys.getrefcount()

  

测量出来的个数比实际个数多一个

posted @ 2018-08-22 13:23  zmwzmw  阅读(61)  评论(0编辑  收藏  举报