From a0c9dc4df2d0f65457819b3ba50d3dc242b4f0d2 Mon Sep 17 00:00:00 2001 From: Giorgos Verigakis Date: Wed, 18 Apr 2012 19:37:52 +0300 Subject: [PATCH] Fix documentation typos --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index cd20a68..a330f9c 100644 --- a/README.rst +++ b/README.rst @@ -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() @@ -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``: