Try invoking parent close() via super(), hoping to squash ResourceWarning.
Also, avoid shadowing the 'file' builtin / alias with locals.
Showing
Please register or sign in to comment
Also, avoid shadowing the 'file' builtin / alias with locals.