Add property docstrings to Coordinate

This commit is contained in:
Dave Pearson
2023-02-28 16:33:34 +00:00
parent 80ae6ce4d9
commit e8732c3013

View File

@@ -7,7 +7,10 @@ class Coordinate(NamedTuple):
"""An object representing a row/column coordinate within a grid."""
row: int
"""The row of the coordinate within a grid."""
column: int
"""The column of the coordinate within a grid."""
def left(self) -> Coordinate:
"""Get the coordinate to the left.