1
reusFork 2013 年 2 月 27 日
__del__不保证会被调用的
|
2
reusFork 2013 年 2 月 27 日
不要看这本书了
|
4
BOYPT 2013 年 2 月 28 日
如果你想要指明它的运行,你就得使用del语句,就如同我们在以前的例子中使用的那样。
==== 这句话的描述是错误的,见python document中加了注意框的描述: http://docs.python.org/3/reference/datamodel.html#object.__del__ |