Skip to content

Commit

Permalink
Fix typo in docs (#37)
Browse files Browse the repository at this point in the history
Before: Both a and Both b...
After: Both a and b...
  • Loading branch information
MicaelJarniac committed Jan 7, 2021
1 parent 6b8440e commit 2ebe9f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ can be used as context managers.
Automatic Updating
------------------

Both :py:class:`~enlighten.Counter` and Both :py:class:`~enlighten.SubCounter` instances can be
Both :py:class:`~enlighten.Counter` and :py:class:`~enlighten.SubCounter` instances can be
called as functions on one or more iterators. A generator is returned which yields each element of
the iterables and then updates the count by 1.

Expand All @@ -89,7 +89,7 @@ the iterables and then updates the count by 1.
User-defined fields
-------------------

Both :py:class:`~enlighten.Counter` and Both :py:class:`~enlighten.StatusBar` accept
Both :py:class:`~enlighten.Counter` and :py:class:`~enlighten.StatusBar` accept
user defined fields as keyword arguments at initialization and during an update.
These fields are persistent and only need to be specified when they change.

Expand All @@ -115,4 +115,4 @@ In the following example, ``source`` is a user-defined field that is periodicall
bar.update()
For more information, see the :ref:`Counter Format <counter_format>` and
:ref:`StatusBar Format <status_format>` sections.
:ref:`StatusBar Format <status_format>` sections.

0 comments on commit 2ebe9f4

Please sign in to comment.