parameters: (self, player, action)
return_statement: return str(self._ACTION_TO_MOVE[action])
docstring: Action -> string.
docstring_summary: Action -> string.
docstring_tokens: Action - > string .
function: def _action_to_string(self, player, action):
      """Action -> string."""
      del player
      if self.is_chance_node() and self._is_chance_init:
        return f"init_state={action}"
      return str(self._ACTION_TO_MOVE[action])
function_tokens: def _action_to_string ( self , player , action ) : del player if self . is_chance_node ( ) and self . _is_chance_init : return f"init_state={action}" return str ( self . _ACTION_TO_MOVE [ action ] )