mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add property docstrings to Coordinate
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user