Skip to content

Commit

Permalink
Merge pull request #2654 from Textualize/progressbar-docs
Browse files Browse the repository at this point in the history
Fix progress bar docs issue.
  • Loading branch information
rodrigogiraoserrao authored May 25, 2023
2 parents 8151946 + 08eb1f1 commit afbf52d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/textual/widgets/_progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,6 @@ class ProgressBar(Widget, can_focus=False):
The percentage is a value between 0 and 1 and the returned value is only
`None` if the total progress of the bar hasn't been set yet.
In other words, after the progress bar emits the message
[`ProgressBar.Started`][textual.widgets.ProgressBar.Started],
the value of `percentage` is always not `None`.
Example:
```py
Expand Down

0 comments on commit afbf52d

Please sign in to comment.