Skip to content
Myr

debugger.py

This file

Path

examples/basic/debugger.py

8 lines · 262 bytes · Python

Last changed by

Merge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e

History of this file

Take it

The walk stopped after 200 commits: lines older than d67f0fd point at it.

Merge pull request #1093 from cclauss/print-functionDavid Lordbefore adoption4c95c5f

line 1why, one step back
1from __future__ import print_function

Merge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e

line 2why, one step back
2

Generalize scoping. This fixes #603Armin Ronacherbefore adoptiond67f0fd

lines 3–5why, one step back
3from jinja2 import Environment
4from jinja2.loaders import FileSystemLoader5

Merge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e

lines 6–7why, one step back
6env = Environment(loader=FileSystemLoader("templates"))
7tmpl = 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]))