Fix trivial typo and grammar in live docs

This commit is contained in:
Chris Laws 2021-08-02 22:19:00 +09:30
parent 6169848d89
commit 38b2f0adb3
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ Live Display
Progress bars and status indicators use a *live* display to animate parts of the terminal. You can build custom live displays with the :class:`~rich.live.Live` class.
For a demonstration of a live display, running the following command:
For a demonstration of a live display, run the following command:
python -m rich.live
@ -16,7 +16,7 @@ For a demonstration of a live display, running the following command:
Basic usage
~~~~~~~~~~~
To create a live display, construct a :class:`~rich.live.Live` object with a renderable and use it has a context manager. The live display will persist for the duration of the context. You can update the renderable to update the display::
To create a live display, construct a :class:`~rich.live.Live` object with a renderable and use it as a context manager. The live display will persist for the duration of the context. You can update the renderable to update the display::
import time