def shift_up_left(self, times=1):
        """
        Finds Location shifted up left by 1

        :rtype: Location
        """
        try:
            return Location(self._rank + times, self._file - times)
        except IndexError as e:
            raise IndexError(e)
def shift_up_left ( self , times = 1 ) : try : return Location ( self . _rank + times , self . _file - times ) except IndexError as e : raise IndexError ( e )
Finds Location shifted up left by 1

        :rtype: Location