diff options
author | Georg Brandl <georg@python.org> | 2013-11-04 07:22:38 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-11-04 07:22:38 +0100 |
commit | 790a48da558443b3aa4c9f04a55a43b1a48b3d4d (patch) | |
tree | b022168e96cb87f9455cef338012a347f2e60bf6 /pygments/formatters/latex.py | |
parent | b3ed638a1f5e5379e208bd0d5c90a7dac3b18afa (diff) | |
parent | 1e5bc0e412818a7dde5920a723663c385de0e1fb (diff) | |
download | pygments-790a48da558443b3aa4c9f04a55a43b1a48b3d4d.tar.gz |
Merged in goodwillcoding/pygments-main (pull request #229)
Make pygments.lexers.guess_lexer_for_filename py3 compatible.
Diffstat (limited to 'pygments/formatters/latex.py')
-rw-r--r-- | pygments/formatters/latex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/formatters/latex.py b/pygments/formatters/latex.py index 47fd1239..15c13d81 100644 --- a/pygments/formatters/latex.py +++ b/pygments/formatters/latex.py @@ -152,7 +152,7 @@ class LatexFormatter(Formatter): .. sourcecode:: latex - \begin{Verbatim}[commandchars=\\{\}] + \begin{Verbatim}[commandchars=\\\{\}] \PY{k}{def }\PY{n+nf}{foo}(\PY{n}{bar}): \PY{k}{pass} \end{Verbatim} |