Author: David Schneider <[email protected]>
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}
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit