def diagonals_around(location):
    """
    Get diagonal coordinates around location
    """
    loc_x, loc_y = location
    yield (loc_x - 1, loc_y - 1)
    yield (loc_x - 1, loc_y + 1)
    yield (loc_x + 1, loc_y - 1)
    yield (loc_x + 1, loc_y + 1)
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/geometry.py/diagonals_around/original