--- a/ThirdParty/Pygments/pygments/style.py Sun Apr 21 20:30:56 2013 +0200 +++ b/ThirdParty/Pygments/pygments/style.py Thu May 23 19:58:41 2013 +0200 @@ -13,6 +13,13 @@ from pygments.token import Token, STANDARD_TYPES +def with_metaclass(meta, base=object): + """ + Python independent version to create a base class with a metaclass. + Taken from six 1.3.0 (http://pythonhosted.org/six) + """ + return meta("NewBase", (base,), {}) + class StyleMeta(type): @@ -106,7 +113,7 @@ return len(cls._styles) -class Style(object, metaclass=StyleMeta): +class Style(with_metaclass(StyleMeta, object)): background_color = '#ffffff' #: highlight background color