OLD | NEW |
1 # -*- coding: utf-8 -*- | 1 # -*- coding: utf-8 -*- |
2 """ | 2 """ |
3 jinja2.utils | 3 jinja2.utils |
4 ~~~~~~~~~~~~ | 4 ~~~~~~~~~~~~ |
5 | 5 |
6 Utility functions. | 6 Utility functions. |
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 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 511 |
512 def __call__(self): | 512 def __call__(self): |
513 if not self.used: | 513 if not self.used: |
514 self.used = True | 514 self.used = True |
515 return u'' | 515 return u'' |
516 return self.sep | 516 return self.sep |
517 | 517 |
518 | 518 |
519 # Imported here because that's where it was in the past | 519 # Imported here because that's where it was in the past |
520 from markupsafe import Markup, escape, soft_unicode | 520 from markupsafe import Markup, escape, soft_unicode |
OLD | NEW |