diff options
| author | Georg Brandl <georg@python.org> | 2007-05-18 14:59:24 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2007-05-18 14:59:24 +0200 |
| commit | b952bc09003b1aeac7c7381f8d503b9a71f76b66 (patch) | |
| tree | ff3cc3f45bb3808155789065350de9a6f9a1df27 | |
| parent | 423f8d7d0749c8ad7acca3e5e39e6e1fd54a5663 (diff) | |
| download | pygments-git-b952bc09003b1aeac7c7381f8d503b9a71f76b66.tar.gz | |
[svn] Use StringIO in LaTeX formatter.
| -rw-r--r-- | pygments/formatters/latex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py index a851997e..7bd8e8b9 100644 --- a/pygments/formatters/latex.py +++ b/pygments/formatters/latex.py @@ -8,7 +8,7 @@ :copyright: 2006-2007 by Georg Brandl. :license: BSD, see LICENSE for more details. """ -import cStringIO +import StringIO from pygments.formatter import Formatter from pygments.token import Token @@ -200,7 +200,7 @@ class LatexFormatter(Formatter): if self.full: realoutfile = outfile - outfile = cStringIO.StringIO() + outfile = StringIO.StringIO() outfile.write(r'\begin{Verbatim}[commandchars=@\[\]') if self.linenos: |
