summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-04-08 07:27:39 -0400
committerTim Graham <timograham@gmail.com>2015-04-08 07:30:28 -0400
commit9e87017a38cbe9de555000278835d8229b1c5bb2 (patch)
treeb1235a577459711fd395b92e319dfc5f1b8cd150 /docs
parente2294b453c66007ed4ad8e25dbd40715384cd1e0 (diff)
[1.8.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report. Backport of 3acefcefeb5283473ac35d7e842027814d57d574 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/api.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
index 63d93d8c5c..9f468b2dbf 100644
--- a/docs/ref/templates/api.txt
+++ b/docs/ref/templates/api.txt
@@ -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'