Loading docs/ref/templates/api.txt +5 −0 Original line number Diff line number Diff line Loading @@ -415,6 +415,11 @@ dictionary syntax:: >>> c['newvariable'] 'hello' .. method:: Context.get(key, otherwise=None) Returns the value for ``key`` if ``key`` is in the context, else returns ``otherwise``. .. method:: Context.pop() .. method:: Context.push() .. exception:: ContextPopException Loading Loading
docs/ref/templates/api.txt +5 −0 Original line number Diff line number Diff line Loading @@ -415,6 +415,11 @@ dictionary syntax:: >>> c['newvariable'] 'hello' .. method:: Context.get(key, otherwise=None) Returns the value for ``key`` if ``key`` is in the context, else returns ``otherwise``. .. method:: Context.pop() .. method:: Context.push() .. exception:: ContextPopException Loading