solver.py
def matches(self, other):
        """
        Return whether this cell shares a row, column or subgrid with the other. Assumes same sudoku order.

        Parameters
        ----------
        other : Cell

        Returns
        -------
        bool
        """
        return any([self.row == other.row, self.col == other.col, self.subgrid == other.subgrid])

        Return whether this cell shares a row, column or subgrid with the other. Assumes same sudoku order.

        Parameters
        ----------
        other : Cell

        Returns
        -------
        bool
        
Return whether this cell shares a row, column or subgrid with the other. Assumes same sudoku order.
Parameters

other : Cell

Returns

bool
Return whether this cell shares a row column or subgrid with the other . Assumes same sudoku order . Parameters other : Cell Returns bool
def matches(self, other):
        return any([self.row == other.row, self.col == other.col, self.subgrid == other.subgrid])
def matches ( self , other ) : return any ( [ self . row == other . row , self . col == other . col , self . subgrid == other . subgrid ] )
Return whether this cell shares a row, column or subgrid with the other.
Return whether this cell shares a row column or subgrid with the other .
"""
        Return whether this cell shares a row, column or subgrid with the other. Assumes same sudoku order.

        Parameters
        ----------
        other : Cell

        Returns
        -------
        bool
        """
self
other