Skip to content
Myr

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 file

Take 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 back
1from __future__ import print_function

Support block-set in toplevel situations when extends is usedArmin Ronacherbefore adoption45b59b5

lines 2–7why, one step back
2from jinja2 import Environment
3from 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 back
8print(tmpl.render(seq=[3, 2, 4, 5, 3, 2, 0, 2, 1]))