code: def get_name(self, name):
          
          if name not in self.get_names():
              raise exceptions.NameNotFoundError('name %s not found' % name)
          return self.get_names()[name]
docs: Return name `PyName` defined in this scope