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:27:39 -0400 |
| commit | 3acefcefeb5283473ac35d7e842027814d57d574 (patch) | |
| tree | 041ccd22495e1759f74bc60a68bb67a66b2d1a5c | |
| parent | 2fc19b92387d4248c715edfbf38658238978abb6 (diff) | |
Fixed #24600 -- Fixed inaccurate example in template Context docs.
Thanks pattypatpat for the report.
| -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 b8e74b75ec..ee8b61eeff 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' |
