Skip to content

Commit

Permalink
Merge pull request #400 from scavpy/scavpy-patch-1
Browse files Browse the repository at this point in the history
Replace lambda for 'dict' in with dict itself
  • Loading branch information
untitaker committed Mar 11, 2015
2 parents cb4b897 + 6179c02 commit f9d804e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jinja2/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
from jinja2.tests import TESTS as DEFAULT_TESTS
DEFAULT_NAMESPACE = {
'range': range_type,
'dict': lambda **kw: kw,
'dict': dict,
'lipsum': generate_lorem_ipsum,
'cycler': Cycler,
'joiner': Joiner
Expand Down

0 comments on commit f9d804e

Please sign in to comment.