From c612786cf15e2e1d00162ed4e335e83b75e6c978 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 14 Apr 2015 07:58:01 -0400 Subject: Fixed typos in docs/ref/templates/api.txt --- docs/ref/templates/api.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index ee8b61eeff..077330f6ce 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -462,8 +462,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' @@ -474,12 +474,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()`` -- cgit v1.2.1