From 3215e61c12b99bf0d391d648846f74b1f748f22d Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 28 Jul 2023 22:07:01 +0100 Subject: [PATCH] typing --- rich/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/text.py b/rich/text.py index 1f9c4f7c..d20bdbce 100644 --- a/rich/text.py +++ b/rich/text.py @@ -822,7 +822,7 @@ class Text(JupyterMixin): assert tab_size is not None result = self.blank_copy() - new_text: list[Text] = [] + new_text: List[Text] = [] append = new_text.append for line in self.split("\n", include_separator=True):