()
Clean up temporary files from urlretrieve calls.
Clean up temporary files from urlretrieve calls.
Clean up temporary files from urlretrieve calls .
def urlcleanup():
    """Clean up temporary files from urlretrieve calls."""
    for temp_file in _url_tempfiles:
        try:
            os.unlink(temp_file)
        except OSError:
            pass

    del _url_tempfiles[:]
    global _opener
    if _opener:
        _opener = None
def urlcleanup ( ) : for temp_file in _url_tempfiles : try : os . unlink ( temp_file ) except OSError : pass del _url_tempfiles [ : ] global _opener if _opener : _opener = None