From d9fc23589dd84da9be72f48c60f37ad8e05a1f01 Mon Sep 17 00:00:00 2001 From: rht Date: Fri, 26 Jan 2024 14:30:24 -0500 Subject: [PATCH] Improve typing for _HexGrid --- mesa/space.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesa/space.pyx b/mesa/space.pyx index c4cc1aaeab9..81136623abc 100644 --- a/mesa/space.pyx +++ b/mesa/space.pyx @@ -1097,7 +1097,7 @@ class _HexGrid: def get_neighborhood( self, pos: Coordinate, include_center: bool = False, radius: int = 1 - ) -> list[Coordinate]: + ) -> Sequence[Coordinate]: """Return a list of coordinates that are in the neighborhood of a certain point. To calculate the neighborhood for a HexGrid the parity of the x coordinate of the point is