Commit 51e5e2ef authored by Tim Graham's avatar Tim Graham
Browse files

[1.7.x] Fixed #24600 -- Fixed inaccurate example in template Context docs.

Thanks pattypatpat for the report.

Backport of 3acefcef from master
parent 080e5dde
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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'