| OLD | NEW |
| 1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
| 2 """ | 2 """ |
| 3 jinja2.ext | 3 jinja2.ext |
| 4 ~~~~~~~~~~ | 4 ~~~~~~~~~~ |
| 5 | 5 |
| 6 Jinja extensions allow to add custom tags similar to the way django custom | 6 Jinja extensions allow to add custom tags similar to the way django custom |
| 7 tags work. By default two example extensions exist: an i18n and a cache | 7 tags work. By default two example extensions exist: an i18n and a cache |
| 8 extension. | 8 extension. |
| 9 | 9 |
| 10 :copyright: (c) 2010 by the Jinja Team. | 10 :copyright: (c) 2010 by the Jinja Team. |
| (...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 for lineno, func, message in extract_from_ast(node, keywords): | 627 for lineno, func, message in extract_from_ast(node, keywords): |
| 628 yield lineno, func, message, finder.find_comments(lineno) | 628 yield lineno, func, message, finder.find_comments(lineno) |
| 629 | 629 |
| 630 | 630 |
| 631 #: nicer import names | 631 #: nicer import names |
| 632 i18n = InternationalizationExtension | 632 i18n = InternationalizationExtension |
| 633 do = ExprStmtExtension | 633 do = ExprStmtExtension |
| 634 loopcontrols = LoopControlExtension | 634 loopcontrols = LoopControlExtension |
| 635 with_ = WithExtension | 635 with_ = WithExtension |
| 636 autoescape = AutoEscapeExtension | 636 autoescape = AutoEscapeExtension |
| OLD | NEW |