def LocalName(self):
    """The (file-)local name of the doc'd code element."""
    if self.locals.get('type') == vimdoc.DICTIONARY:
      return self.locals['dict']
    if self.locals not in 'name':
      raise KeyError('Unnamed block.')
    return self.locals['name']
dataset/ETHPy150Open google/vimdoc/vimdoc/block.py/Block.LocalName/swapped operands of `not in`