mirror of https://github.com/Textualize/rich.git
docstring
This commit is contained in:
parent
99e4f2863a
commit
5a508bfd8b
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue