summaryrefslogtreecommitdiff
path: root/pygments/filter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/filter.py')
-rw-r--r--pygments/filter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pygments/filter.py b/pygments/filter.py
index c8176ed9..f3082037 100644
--- a/pygments/filter.py
+++ b/pygments/filter.py
@@ -34,10 +34,10 @@ def simplefilter(f):
yield ttype, value.lower()
"""
return type(f.__name__, (FunctionFilter,), {
- 'function': f,
- '__module__': getattr(f, '__module__'),
- '__doc__': f.__doc__
- })
+ '__module__': getattr(f, '__module__'),
+ '__doc__': f.__doc__,
+ 'function': f,
+ })
class Filter(object):