• Jeremy Hylton's avatar
    Cleanup __del__. · 5913ce6e
    Jeremy Hylton authored
    You never need an __del__ to close a file.  A file closes itself when
    it is deallocated.
    
    Don't give an object a magic __del__ attribute.  It won't work with
    new-style classes, and it's obscure anyway.
    5913ce6e
Draft.py 5.16 KB