Fixed #24600 -- Fixed inaccurate example in template Context docs.

Thanks pattypatpat for the report.
This commit is contained in:
Tim Graham 2015-04-08 07:27:39 -04:00
parent 2fc19b9238
commit 3acefcefeb
1 changed files with 3 additions and 1 deletions

View File

@ -410,7 +410,9 @@ dictionary syntax::
'bar'
>>> del c['foo']
>>> c['foo']
''
Traceback (most recent call last):
...
KeyError: 'foo'
>>> c['newvariable'] = 'hello'
>>> c['newvariable']
'hello'