From 5a508bfd8b75d050816cf733764764e4b8699b5a Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 27 Jan 2021 13:54:30 +0000 Subject: [PATCH] docstring --- rich/segment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rich/segment.py b/rich/segment.py index 9a75aed7..4a4e8d55 100644 --- a/rich/segment.py +++ b/rich/segment.py @@ -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.