Skip to content

Commit

Permalink
Add raises section to docs for cell_id_to_neighbor_cell_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
aaliddell committed Nov 15, 2023
1 parent dbb29e4 commit a2d865c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions s2cell/s2cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,10 @@ def cell_id_to_neighbor_cell_ids(
Returns:
List of neighbor S2 cell IDs.
Raises:
TypeError: If the cell_id is not int.
InvalidCellID: If the cell_id is invalid.
"""
level = cell_id_to_level(cell_id)
size = _s2_level_to_size_ij(level)
Expand Down

0 comments on commit a2d865c

Please sign in to comment.