diff --git a/mesa/experimental/cell_space/cell.py b/mesa/experimental/cell_space/cell.py index 2fc17390b49..8eef711cc7d 100644 --- a/mesa/experimental/cell_space/cell.py +++ b/mesa/experimental/cell_space/cell.py @@ -134,7 +134,7 @@ def __repr__(self): # noqa @cached_property def neighborhood(self) -> CellCollection: - """Returns the direct neigborhood of the cell + """Returns the direct neigborhood of the cell. This is equivalent to cell.get_neighborhood(radius=1) @@ -146,7 +146,7 @@ def neighborhood(self) -> CellCollection: def get_neighborhood( self, radius: int = 1, include_center: bool = False ) -> CellCollection: - """Returns a list of all neighboring cells for the given radius + """Returns a list of all neighboring cells for the given radius. For getting the direct neighborhood (i.e., radius=1) you can also use the `neighborhood` property.