summaryrefslogtreecommitdiff
path: root/pygments/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/__init__.py')
-rw-r--r--pygments/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pygments/__init__.py b/pygments/__init__.py
index 280fe0bb..6a7f9f9b 100644
--- a/pygments/__init__.py
+++ b/pygments/__init__.py
@@ -33,8 +33,7 @@ __all__ = ['lex', 'format', 'highlight']
import sys, os
-# using StringIO because it can handle Unicode strings
-from StringIO import StringIO
+from cStringIO import StringIO
from pygments.util import OptionError
from pygments.lexers import LEXERS, get_lexer_by_name, get_lexer_for_filename