debugger.py
This file
Path
examples/basic/debugger.py
8 lines · 262 bytes · Python
Last changed by
Merge pull request #1093 from cclauss/print-functionDavid Lordbefore adoption4c95c5f
History of this fileTake it
The walk stopped after 200 commits: lines older than 45b59b5 point at it.
Merge pull request #1093 from cclauss/print-functionDavid Lordbefore adoption4c95c5f
line 1why, one step back1from __future__ import print_functionSupport block-set in toplevel situations when extends is usedArmin Ronacherbefore adoption45b59b5
lines 2–7why, one step back2from jinja2 import Environment3from jinja2.loaders import FileSystemLoader45env = Environment(loader=FileSystemLoader('templates'))67tmpl = 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]))