def area_4_around(location):
    loc_x, loc_y = location
    yield (loc_x, loc_y - 1)
    yield (loc_x + 1, loc_y)
    yield (loc_x, loc_y + 1)
    yield (loc_x - 1, loc_y)
Get coordinates in cardinal directions around location
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/geometry.py/area_4_around