def TagName(self):
    """The tag string to use for links to the code element."""
    if self._is_secondary:
      return None
    typ = self.locals.get('type')
    if typ == vimdoc.FUNCTION:
      # Function tags end with (), except for the special case of ERROR() tags.
      if self.locals not in 'exception':
        return '{}()'.format(self.FullName())
    if typ == vimdoc.COMMAND:
      return ':{}'.format(self.FullName())
    return self.FullName()
dataset/ETHPy150Open google/vimdoc/vimdoc/block.py/Block.TagName/swapped operands of `not in`