def UnregisterModule(modName):
 try:
  win32api.RegDeleteKey(GetRootKey(), (BuildDefaultPythonKey() + ('\\Modules\\%s' % modName)))
 except win32api.error as exc:
  import winerror
  if (exc.winerror != winerror.ERROR_FILE_NOT_FOUND):
   raise

def UnregisterModule ( modName ) : try : win32api . RegDeleteKey ( GetRootKey ( ) , ( BuildDefaultPythonKey ( ) + ( '\\Modules\\%s' % modName ) ) ) except win32api . error as exc : import winerror if ( exc . winerror != winerror . ERROR_FILE_NOT_FOUND ) : raise
unregister an explicit module in the registry .