mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
clarify in comments
This commit is contained in:
@@ -612,7 +612,7 @@ class Spacing(NamedTuple):
|
||||
|
||||
@property
|
||||
def totals(self) -> tuple[int, int]:
|
||||
"""Total spacing for horizontal and vertical spacing."""
|
||||
"""Returns a tuple of (<HORIZONTAL SPACE>, <VERTICAL SPACE>)."""
|
||||
top, right, bottom, left = self
|
||||
return (left + right, top + bottom)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user