code: def get_group(self, name, default=NoGroupError):
          '''
          Get a list of hosts belonging to a group.
          '''
  
          if name in self.groups:
              return self.groups[name]
  
          if default is NoGroupError:
              raise NoGroupError('No such group: {0}'.format(name))
  
          return defaulf get_group(self, name, default=NoGroupError):
          '''
          Get a list of hosts belonging to a group.
          '''
  
          if name in self.groups:
              return self.groups[name]
  
          if default is NoGroupError:
              raise NoGroupError('No such group: {0}'.format(name))
  
          return default
docs: Get a list of hosts belonging to a group.