ThirdParty/Pygments/pygments/formatter.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 684
2f29a0b6e1c7
--- a/ThirdParty/Pygments/pygments/formatter.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/ThirdParty/Pygments/pygments/formatter.py	Sat Jan 02 15:11:35 2010 +0000
@@ -18,7 +18,7 @@
 
 
 def _lookup_style(style):
-    if isinstance(style, basestring):
+    if isinstance(style, str):
         return get_style_by_name(style)
     return style
 

eric ide

mercurial