summaryrefslogtreecommitdiff
path: root/pygments/__init__.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-31 23:46:24 +0100
committergbrandl <devnull@localhost>2006-10-31 23:46:24 +0100
commit729df9d55ee975be89f18fa90964f19bead60feb (patch)
tree641a0511cbcfa260d1d4e2287f0ede38e50504d8 /pygments/__init__.py
parent026d59d92a7b574323484fae8a21c9bcc2401517 (diff)
downloadpygments-729df9d55ee975be89f18fa90964f19bead60feb.tar.gz
[svn] Add encoding support. All processing is now done with unicode strings.
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