code: def _unmangle_attribute_name(name):
      
  
      # Python keywords cannot be used as variable names, an underscore should
      # be appended at the end of each of them when defining attribute names.
      name = _PYTHON_KEYWORD_MAP.get(name, name)
  
      # Attribute names are mangled with double underscore, as colon cannot
      # be used as a variable character symbol in Python. Single underscore is
      # used for substituting dash.
      name = name.replace('__', ':').replace('_', '-')
  
      return name
docs: Unmangles attribute names so that correct Python variable names are
      used for mapping attribute names.