Skip to content

Commit e99028f

Browse files
committed
Improve typing for _HexGrid
1 parent 2bedc07 commit e99028f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesa/space.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ class _HexGrid:
10971097
10981098
def get_neighborhood(
10991099
self, pos: Coordinate, include_center: bool = False, radius: int = 1
1100-
) -> list[Coordinate]:
1100+
) -> Sequence[Coordinate]:
11011101
"""Return a list of coordinates that are in the
11021102
neighborhood of a certain point. To calculate the neighborhood
11031103
for a HexGrid the parity of the x coordinate of the point is

0 commit comments

Comments
 (0)