summaryrefslogtreecommitdiff
path: root/pygments/style.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/style.py')
-rw-r--r--pygments/style.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/style.py b/pygments/style.py
index d0fc26be..bb54377c 100644
--- a/pygments/style.py
+++ b/pygments/style.py
@@ -10,6 +10,7 @@
"""
from pygments.token import Token, STANDARD_TYPES
+from pygments.util import add_metaclass
class StyleMeta(type):
@@ -104,8 +105,8 @@ class StyleMeta(type):
return len(cls._styles)
+@add_metaclass(StyleMeta)
class Style(object):
- __metaclass__ = StyleMeta
#: overall background color (``None`` means transparent)
background_color = '#ffffff'