From c8c116c9e257c15d66b1c1e6d89eebe7be4fa4e5 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 23 Dec 2022 17:55:40 -0800 Subject: [PATCH] fix typing --- rich/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/console.py b/rich/console.py index 4ee7f0344..472789b0c 100644 --- a/rich/console.py +++ b/rich/console.py @@ -2034,7 +2034,7 @@ def _check_buffer(self) -> None: if len(text) <= MAX_WRITE: write(text) else: - batch: list[str] = [] + batch: List[str] = [] batch_append = batch.append size = 0 for line in text.splitlines(True):