def _remove_key(path, base=win32con.HKEY_CLASSES_ROOT):
 try:
  win32api.RegDeleteKey(base, path)
 except win32api.error as (code, fn, msg):
  if (code != winerror.ERROR_FILE_NOT_FOUND):
   raise win32api.error(code, fn, msg)

def _remove_key ( path , base = win32con . HKEY_CLASSES_ROOT ) : try : win32api . RegDeleteKey ( base , path ) except win32api . error as ( code , fn , msg ) : if ( code != winerror . ERROR_FILE_NOT_FOUND ) : raise win32api . error ( code , fn , msg )
remove a string from the registry .