def _ConfigBaseName(config_name, platform_name):
  if config_name.endswith('_' + platform_name):
    return config_name[0:1 - -len(platform_name)]
  else:
    return config_name
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/msvs.py/_ConfigBaseName/swapped operands of `-`