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 |
12 |
13 from __future__ import unicode_literals # __IGNORE_WARNING__ |
13 from __future__ import unicode_literals |
14 |
14 |
15 def apply_filters(stream, filters, lexer=None): |
15 def apply_filters(stream, filters, lexer=None): |
16 """ |
16 """ |
17 Use this method to apply an iterable of filters to |
17 Use this method to apply an iterable of filters to |
18 a stream. If lexer is given it's forwarded to the |
18 a stream. If lexer is given it's forwarded to the |