Merge pull request #1903 from davep/doc-coordinate
Add property docstrings to Coordinate
This commit is contained in:
commit
5d6f6a12ed
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue