[pypy-commit] extradoc extradoc: use listsings package for source code

bivab noreply at buildbot.pypy.org
Fri Jul 20 15:30:17 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: extradoc
Changeset: r4318:1e37bd217d38
Date: 2012-07-20 15:29 +0200
http://bitbucket.org/pypy/extradoc/changeset/1e37bd217d38/

Log:	use listsings package for source code

diff --git a/talk/vmil2012/figures/example.tex b/talk/vmil2012/figures/example.tex
--- a/talk/vmil2012/figures/example.tex
+++ b/talk/vmil2012/figures/example.tex
@@ -1,4 +1,4 @@
-\begin{verbatim}
+\begin{lstlisting}[language=Python]
 class Base(object):
     def __init__(self, n):
         self.value = n
@@ -26,4 +26,4 @@
     if a is None:
         break
     a = a.f()
-\end{verbatim}
+\end{lstlisting}


More information about the pypy-commit mailing list