OLD | NEW |
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 """ | 2 """ |
3 jinja2.environment | 3 jinja2.environment |
4 ~~~~~~~~~~~~~~~~~~ | 4 ~~~~~~~~~~~~~~~~~~ |
5 | 5 |
6 Provides a class that holds runtime and parsing time options. | 6 Provides a class that holds runtime and parsing time options. |
7 | 7 |
8 :copyright: (c) 2010 by the Jinja Team. | 8 :copyright: (c) 2010 by the Jinja Team. |
9 :license: BSD, see LICENSE for more details. | 9 :license: BSD, see LICENSE for more details. |
10 """ | 10 """ |
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1182 def __iter__(self): | 1182 def __iter__(self): |
1183 return self | 1183 return self |
1184 | 1184 |
1185 def __next__(self): | 1185 def __next__(self): |
1186 return self._next() | 1186 return self._next() |
1187 | 1187 |
1188 | 1188 |
1189 # hook in default template class. if anyone reads this comment: ignore that | 1189 # hook in default template class. if anyone reads this comment: ignore that |
1190 # it's possible to use custom templates ;-) | 1190 # it's possible to use custom templates ;-) |
1191 Environment.template_class = Template | 1191 Environment.template_class = Template |
OLD | NEW |