def show_commands(self):
        moves = [self.to_board_coordinates(piece.get_position()) for piece in self.board.get_move_pieces(self.player)]

        if not moves:
            raise NoMovesError

        print("Possible moves are: ", moves)
        self.board.clear_moves()
Substitute keywords from the default_owner field.
dataset/ETHPy150Open Zolomon/reversi-ai/game/game.py/Game.show_commands--crossover with--dataset/ETHPy150Open edgewall/trac/trac/ticket/default_workflow.py/ConfigurableTicketWorkflow._sub_owner_keyword