original_docstring: 
          Stopping a sequence requires taking care of the current index. Note that
          is important to implement this here intead of terminate, so users are free
          to subclass this easily with their own terminate and not have to remember
          that they need to call this function manually.
  
          Args:
              new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
          
docstring: Stopping a sequence requires taking care of the current index. Note that
  is important to implement this here intead of terminate, so users are free
  to subclass this easily with their own terminate and not have to remember
  that they need to call this function manually.
docstring_tokens: Stopping a sequence requires taking care of the current index . Note that is important to implement this here intead of terminate so users are free to subclass this easily with their own terminate and not have to remember that they need to call this function manually .
code: def stop(self, new_status=Status.INVALID):
          """
          Stopping a sequence requires taking care of the current index. Note that
          is important to implement this here intead of terminate, so users are free
          to subclass this easily with their own terminate and not have to remember
          that they need to call this function manually.
  
          Args:
              new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
          """
          # retain information about the last running child if the new status is
          # SUCCESS or FAILURE
          if new_status == Status.INVALID:
              self.current_index = -1
          Composite.stop(self, new_status)
code_tokens: def stop ( self , new_status = Status . INVALID ) : if new_status == Status . INVALID : self . current_index = - 1 Composite . stop ( self , new_status )
short_docstring: Stopping a sequence requires taking care of the current index.
short_docstring_tokens: Stopping a sequence requires taking care of the current index .
comment: """
          Stopping a sequence requires taking care of the current index. Note that
          is important to implement this here intead of terminate, so users are free
          to subclass this easily with their own terminate and not have to remember
          that they need to call this function manually.
  
          Args:
              new_status (:class:`~py_trees.common.Status`): the composite is transitioning to this new status
          """$SEP$# retain information about the last running child if the new status is$SEP$# SUCCESS or FAILURE