]> git.ipfire.org Git - thirdparty/jinja.git/commit
do_dictsort: update example ready to copy/paste 1209/head
authorMark Hansen <markhansen@google.com>
Sat, 16 May 2020 07:07:59 +0000 (17:07 +1000)
committerGitHub <noreply@github.com>
Sat, 16 May 2020 07:07:59 +0000 (17:07 +1000)
commit48929401db7228db04dfd8e88115dd5c30dc2d86
tree24a984fbf34c83b9e5aec4f5d9ead36ae4467058
parent9ec465baefe32e305bd4e61da49e6c39360c194e
do_dictsort: update example ready to copy/paste

When iterating over a dict you usually want to pull out the keys and values.
src/jinja2/filters.py