docstring

This commit is contained in:
Will McGugan 2021-01-27 13:54:30 +00:00
parent 99e4f2863a
commit 5a508bfd8b
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ from typing import Iterable, List, Tuple
class Segment(NamedTuple):
"""A piece of text with associated style.
"""A piece of text with associated style. Segments are produced by the Console render process and
are ultimately converted in to strings to be written to the terminal.
Args:
text (str): A piece of text.