Skip to content

Commit

Permalink
Fix documentation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
verigak committed Apr 18, 2012
1 parent c8d37e0 commit a0c9dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To use them, just call ``next`` to advance and ``finish`` to finish. ::

from progress.bar import Bar

bar = Bar('Working', max=20)
bar = Bar('Processing', max=20)
for i in range(20):
# Do some work
bar.next()
Expand All @@ -36,11 +36,11 @@ use the ``iter`` method. ::
Progress bars are very customizable, you can change their width, their fill
character, their suffix and more. ::

bar = Bar('Loading', fill='@', suffix='%(percent).1f%%')
bar = Bar('Loading', fill='@', suffix='%(percent)d%%')

This will produce a bar like the following: ::

Processing |@@@@@@@@@@@@@ | 42%
Loading |@@@@@@@@@@@@@ | 42%

You can use a number of template arguments in ``message`` and ``suffix``:

Expand Down

0 comments on commit a0c9dc4

Please sign in to comment.