shenzhen-solitaire.py
def print_trace(self, print_board=True):
        """Print trace of how state was generated."""
        print('-' * 80)
        board = self
        while board.previous:
            # pylint: disable=E0633
            board, move = board.previous
            move_msg, _, _, _ = move
            print(move_msg)
            if print_board:
                print(board)
        print('-' * 80)
Print trace of how state was generated.
Print trace of how state was generated.
Print trace of how state was generated .
def print_trace(self, print_board=True):
        print('-' * 80)
        board = self
        while board.previous:
            board, move = board.previous
            move_msg, _, _, _ = move
            print(move_msg)
            if print_board:
                print(board)
        print('-' * 80)
def print_trace ( self , print_board = True ) : print ( '-' * 80 ) board = self while board . previous : board , move = board . previous move_msg , _ , _ , _ = move print ( move_msg ) if print_board : print ( board ) print ( '-' * 80 )
Print trace of how state was generated.
Print trace of how state was generated .
"""Print trace of how state was generated.""" # pylint: disable=E0633
self
print_board