def Local(self, **kwargs):
    """Sets local metadata, like private/public scope."""
    self.SetType(True)
    for key, value in kwargs.items():
      if key in self.locals and self.locals[key] != value:
        raise error.InconsistentControl(key, self.locals[key], value)
      self.locals[key] = value
dataset/ETHPy150Open google/vimdoc/vimdoc/block.py/Block.Local/original