debugger.py
This file
Path
examples/basic/debugger.py
8 lines · 260 bytes · Python
Last changed by
Merge pull request #1121 from pallets/the-great-renameDavid Lordbefore adoption457b59b
History of this fileTake it
The walk stopped after 200 commits: lines older than 0020a47 point at it.
Merge pull request #1093 from cclauss/print-functionDavid Lordbefore adoption4c95c5f
line 1why, one step back1from __future__ import print_functionMerge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e
line 2why, one step back2Merge pull request #1121 from pallets/the-great-renameDavid Lordbefore adoption457b59b
lines 3–4why, one step back3from jinja import Environment4from jinja.loaders import FileSystemLoaderAdded a more convenient autoescaping functionArmin Ronacherbefore adoption0020a47
line 5why, one step back5Merge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e
lines 6–7why, one step back6env = Environment(loader=FileSystemLoader("templates"))7tmpl = env.get_template("broken.html")Merge pull request #1093 from cclauss/print-functionDavid Lordbefore adoption4c95c5f
line 8why, one step back8print(tmpl.render(seq=[3, 2, 4, 5, 3, 2, 0, 2, 1]))