ThirdParty/Pygments/pygments/style.py

branch
Py2 comp.
changeset 3079
0233bbe9a9c4
parent 2669
11a6696ff868
child 4172
4f20dba37ab6
diff -r 76a310bc7bba -r 0233bbe9a9c4 ThirdParty/Pygments/pygments/style.py
--- a/ThirdParty/Pygments/pygments/style.py	Wed Nov 06 19:50:24 2013 +0100
+++ b/ThirdParty/Pygments/pygments/style.py	Wed Nov 13 23:30:59 2013 +0100
@@ -9,8 +9,6 @@
     :license: BSD, see LICENSE for details.
 """
 
-from __future__ import unicode_literals    # __IGNORE_WARNING__
-
 from pygments.token import Token, STANDARD_TYPES
 
 def with_metaclass(meta, base=object):
@@ -22,6 +20,13 @@
 
 
 class StyleMeta(type):
+    background_color = '#ffffff'
+
+    #: highlight background color
+    highlight_color = '#ffffcc'
+
+    #: Style definitions for individual token types.
+    styles = {}
 
     def __new__(mcs, name, bases, dct):
         obj = type.__new__(mcs, name, bases, dct)
@@ -114,10 +119,4 @@
 
 
 class Style(with_metaclass(StyleMeta, object)):
-    background_color = '#ffffff'
-
-    #: highlight background color
-    highlight_color = '#ffffcc'
-
-    #: Style definitions for individual token types.
-    styles = {}
+    pass

eric ide

mercurial