diff options
Diffstat (limited to 'src/click/_termui_impl.py')
-rw-r--r-- | src/click/_termui_impl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/click/_termui_impl.py b/src/click/_termui_impl.py index 4b979bc..1caaad8 100644 --- a/src/click/_termui_impl.py +++ b/src/click/_termui_impl.py @@ -93,7 +93,7 @@ class ProgressBar(t.Generic[V]): self.is_hidden = not isatty(self.file) self._last_line: t.Optional[str] = None - def __enter__(self) -> "ProgressBar": + def __enter__(self) -> "ProgressBar[V]": self.entered = True self.render_progress() return self |