python获取引用对象的个数

import sys
sys.getrefcount()

  比实际的要大一

原文地址:https://www.cnblogs.com/tester-go/p/8073776.html