parameters: (self)
return_statement: return group
docstring: Returns a possible group from the end of the call queue or None if no
      other methods are on the stack.
docstring_summary: Returns a possible group from the end of the call queue or None if no
      other methods are on the stack.
docstring_tokens: Returns a possible group from the end of the call queue or None if no other methods are on the stack .
function: def GetPossibleGroup(self):
      """Returns a possible group from the end of the call queue or None if no
      other methods are on the stack.
      """
  
      # Remove this method from the tail of the queue so we can add it to a group.
      this_method = self._call_queue.pop()
      assert this_method == self
  
      # Determine if the tail of the queue is a group, or just a regular ordered
      # mock method.
      group = None
      try:
        group = self._call_queue[-1]
      except IndexError:
        pass
  
      return group
function_tokens: def GetPossibleGroup ( self ) : # Remove this method from the tail of the queue so we can add it to a group. this_method = self . _call_queue . pop ( ) assert this_method == self # Determine if the tail of the queue is a group, or just a regular ordered # mock method. group = None try : group = self . _call_queue [ - 1 ] except IndexError : pass return group