测量对象的引用次数

import  sys
sys.getrefcount()

  

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

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