parameters: ()
docstring: Clean up temporary files from urlretrieve calls.
docstring_summary: Clean up temporary files from urlretrieve calls.
docstring_tokens: Clean up temporary files from urlretrieve calls .
function: 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
function_tokens: 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