Loading docs/ref/templates/api.txt +2 −0 Original line number Diff line number Diff line Loading @@ -306,10 +306,12 @@ If you ``pop()`` too much, it'll raise >>> c = Context() >>> c['foo'] = 'first level' >>> c.push() {} >>> c['foo'] = 'second level' >>> c['foo'] 'second level' >>> c.pop() {'foo': 'second level'} >>> c['foo'] 'first level' >>> c['foo'] = 'overwritten' Loading Loading
docs/ref/templates/api.txt +2 −0 Original line number Diff line number Diff line Loading @@ -306,10 +306,12 @@ If you ``pop()`` too much, it'll raise >>> c = Context() >>> c['foo'] = 'first level' >>> c.push() {} >>> c['foo'] = 'second level' >>> c['foo'] 'second level' >>> c.pop() {'foo': 'second level'} >>> c['foo'] 'first level' >>> c['foo'] = 'overwritten' Loading