diff options
| author | Tim Graham <timograham@gmail.com> | 2015-04-14 07:58:01 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-04-14 07:58:52 -0400 |
| commit | 1b21666bd9f3b2009fe87001c7e44f72d23a6514 (patch) | |
| tree | 3c37815185f1daef27bc3cf4a4c3fe8207c0ff01 /docs | |
| parent | 4c9d79e1164866072b4d2e3012e127a0debbbfe1 (diff) | |
[1.7.x] Fixed typos in docs/ref/templates/api.txt
Backport of c612786cf15e2e1d00162ed4e335e83b75e6c978 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/templates/api.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 177371055e..69f7fca410 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -364,8 +364,8 @@ is called. >>> c = Context() >>> c['foo'] = 'first level' >>> with c.push(): - >>> c['foo'] = 'second level' - >>> c['foo'] + ... c['foo'] = 'second level' + ... c['foo'] 'second level' >>> c['foo'] 'first level' @@ -376,12 +376,12 @@ used to build the new context level. >>> c = Context() >>> c['foo'] = 'first level' >>> with c.push(foo='second level'): - >>> c['foo'] + ... c['foo'] 'second level' >>> c['foo'] 'first level' -.. method:: update(other_dict) +.. method:: Context.update(other_dict) In addition to ``push()`` and ``pop()``, the ``Context`` object also defines an ``update()`` method. This works like ``push()`` |
