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:28 -0400 |
| commit | 9e87017a38cbe9de555000278835d8229b1c5bb2 (patch) | |
| tree | b1235a577459711fd395b92e319dfc5f1b8cd150 | |
| parent | e2294b453c66007ed4ad8e25dbd40715384cd1e0 (diff) | |
[1.8.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.
Backport of 3acefcefeb5283473ac35d7e842027814d57d574 from master
| -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 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' |
