Skip to content
Myr

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 file

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

Merge pull request #1125 from pallets/styleDavid Lordbefore adoption42d4a4e

line 2why, one step back
2

Merge pull request #1121 from pallets/the-great-renameDavid Lordbefore adoption457b59b

lines 3–4why, one step back
3from jinja import Environment
4from jinja.loaders import FileSystemLoader

Added a more convenient autoescaping functionArmin Ronacherbefore adoption0020a47

line 5why, one step back
5

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]))