Special method __del__ not implemented for user-defined classes¶. Sample code: import gc class Foo: def __del__(self): print("__del__") f = Foo() del f ...
確定! 回上一頁