diff options
author | gbrandl <devnull@localhost> | 2006-10-31 23:46:24 +0100 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2006-10-31 23:46:24 +0100 |
commit | 729df9d55ee975be89f18fa90964f19bead60feb (patch) | |
tree | 641a0511cbcfa260d1d4e2287f0ede38e50504d8 /pygments/__init__.py | |
parent | 026d59d92a7b574323484fae8a21c9bcc2401517 (diff) | |
download | pygments-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__.py | 3 |
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 |