From 60056e8cef7b93ad77fa655816761a824fde7f43 Mon Sep 17 00:00:00 2001 From: Neil Botelho Date: Sun, 19 Nov 2023 21:58:11 +0530 Subject: [PATCH] Correct docstring --- src/pip/_internal/cli/progress_bars.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pip/_internal/cli/progress_bars.py b/src/pip/_internal/cli/progress_bars.py index 6c955e2c2..38fcb1f52 100644 --- a/src/pip/_internal/cli/progress_bars.py +++ b/src/pip/_internal/cli/progress_bars.py @@ -137,7 +137,8 @@ class PipProgress(Progress): - task (Task): The task for which to generate the representation. Returns: - - Optional[Group]: A Group containing the description and progress lines, + - Iterable[RenderableLine]: An iterable of renderable lines containing the + description and (optionally) progress lines, """ columns = self.columns if task.total else self.get_indefinite_columns() description_row = self.make_task_row(self.get_description_columns(), task)