diff options
| author | Tim Graham <timograham@gmail.com> | 2015-04-08 07:27:39 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-04-08 07:30:32 -0400 |
| commit | 51e5e2efc6f96166ec3df6fe52a41deefe0fcbe3 (patch) | |
| tree | 2a67cbfc9aebd290e4e59a1fdbd6e5c8ab5b19d9 /docs | |
| parent | 080e5dde549a68aa4788569421a6c12f8ed67b05 (diff) | |
[1.7.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.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index a76d325e0f..177371055e 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -317,7 +317,9 @@ dictionary syntax:: 'bar' >>> del c['foo'] >>> c['foo'] - '' + Traceback (most recent call last): + ... + KeyError: 'foo' >>> c['newvariable'] = 'hello' >>> c['newvariable'] 'hello' |
