summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmail <ismail-s@users.noreply.github.com>2014-04-28 14:34:43 +0100
committerIsmail <ismail-s@users.noreply.github.com>2014-04-28 14:34:43 +0100
commit164f49aebbc1271151ffbf4be1666312139923c2 (patch)
tree6d9ba6522c94dba83919634db39a19ddb8512beb
parentb1a3569119a50dfaf38f941637c0261965567106 (diff)
downloadurwid-164f49aebbc1271151ffbf4be1666312139923c2.tar.gz
More minor grammar mistake corrections
-rw-r--r--docs/manual/canvascache.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/canvascache.rst b/docs/manual/canvascache.rst
index 0dd4271..bb5f094 100644
--- a/docs/manual/canvascache.rst
+++ b/docs/manual/canvascache.rst
@@ -12,7 +12,7 @@ visible, unchanged canvases so that not all of the visible widgets need to be
rendered for each update.
The :class:`Widget` base class uses some metaclass magic to
-capture the canvas objects returned :meth:`Widget.render` is called and return
+capture the canvas objects returned when :meth:`Widget.render` is called and return
them the next time :meth:`Widget.render` is called again with the same parameters. The
:meth:`Widget._invalidate` method is provided as a way to remove cached widgets so
that changes to the widget are visible the next time the screen is redrawn.
@@ -26,7 +26,7 @@ Composite Canvases
When container and decoration widgets are rendered, they collect the canvases
returned by their children and arrange them into a composite canvas. Composite
-canvases may are nested to form a tree with the topmost widget's :meth:`Widget.render`
+canvases are nested to form a tree with the topmost widget's :meth:`Widget.render`
method returning the root of the tree. That canvas is sent to the display
module to be rendered on the screen.