Raised when a resource (such as a file or socket) is implicitly closed or destroyed without being explicitly closed. Hidden by default; shown when the interpreter is run with -Wd.
ResourceWarning
python Raised when a resource (such as a file or socket) is implicitly closed or destroyed without being explicitly closed. Hidden by default; shown when the interpreter is run with -Wd.