7 |
7 |
8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. |
8 :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. |
9 :license: BSD, see LICENSE for details. |
9 :license: BSD, see LICENSE for details. |
10 """ |
10 """ |
11 |
11 |
|
12 |
|
13 from __future__ import unicode_literals # __IGNORE_WARNING__ |
12 |
14 |
13 def apply_filters(stream, filters, lexer=None): |
15 def apply_filters(stream, filters, lexer=None): |
14 """ |
16 """ |
15 Use this method to apply an iterable of filters to |
17 Use this method to apply an iterable of filters to |
16 a stream. If lexer is given it's forwarded to the |
18 a stream. If lexer is given it's forwarded to the |