[pypy-svn] extradoc extradoc: number input vars too

cfbolz commits-noreply at bitbucket.org
Sat Mar 26 00:31:42 CET 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: extradoc
Changeset: r3417:1e9e03f824b6
Date: 2011-03-26 00:31 +0100
http://bitbucket.org/pypy/extradoc/changeset/1e9e03f824b6/

Log:	number input vars too

diff --git a/talk/icooolps2011/code/trace1.tex b/talk/icooolps2011/code/trace1.tex
--- a/talk/icooolps2011/code/trace1.tex
+++ b/talk/icooolps2011/code/trace1.tex
@@ -1,24 +1,24 @@
 \begin{lstlisting}[mathescape,xleftmargin=20pt,numberblanklines=false,numbers=right,escapechar=|, firstnumber=27,basicstyle=\ttfamily]
-# inst.getattr("a")                         |\setcounter{lstnumber}{21}|
-$attributes_1$ = inst.attributes            |\setcounter{lstnumber}{21}|
+# $inst_1$.getattr("a")                     |\setcounter{lstnumber}{21}|
+$attributes_1$ = $inst_1$.attributes        |\setcounter{lstnumber}{21}|
 $result_1$ = dict.get($attributes_1$, "a")  |\setcounter{lstnumber}{28}|
 guard($result_1$ is not None)               |\setcounter{lstnumber}{25}|
 
-# inst.getattr("b")                         |\setcounter{lstnumber}{21}|
-$attributes_2$ = inst.attributes            |\setcounter{lstnumber}{21}|
+# $inst_1$.getattr("b")                     |\setcounter{lstnumber}{21}|
+$attributes_2$ = $inst_1$.attributes        |\setcounter{lstnumber}{21}|
 $v_1$ = dict.get($attributes_2$, "b")       |\setcounter{lstnumber}{28}|
 guard($v_1$ is None)                        |\setcounter{lstnumber}{29}|
-$cls_1$ = inst.cls                          |\setcounter{lstnumber}{9}|
+$cls_1$ = $inst_1$.cls                      |\setcounter{lstnumber}{9}|
 $methods_1$ = cls.methods                   |\setcounter{lstnumber}{9}|
 $result_2$ = dict.get($methods_1$, "b")     |\setcounter{lstnumber}{30}|
 guard($result_2$ is not None)               |\setcounter{lstnumber}{-2}|
 $v_2$ = $result_1$ + $result_2$             |\setcounter{lstnumber}{25}|
 
-# inst.getattr("c")                         |\setcounter{lstnumber}{21}|
-$attributes_3$ = inst.attributes            |\setcounter{lstnumber}{21}|
+# $inst_1$.getattr("c")                     |\setcounter{lstnumber}{21}|
+$attributes_3$ = $inst_1$.attributes        |\setcounter{lstnumber}{21}|
 $v_3$ = dict.get($attributes_3$, "c")       |\setcounter{lstnumber}{28}|
 guard($v_3$ is None)                        |\setcounter{lstnumber}{29}|
-$cls_1$ = inst.cls                          |\setcounter{lstnumber}{9}|
+$cls_1$ = $inst_1$.cls                      |\setcounter{lstnumber}{9}|
 $methods_2$ = cls.methods                   |\setcounter{lstnumber}{9}|
 $result_3$ = dict.get($methods_2$, "c")     |\setcounter{lstnumber}{30}|
 guard($result_3$ is not None)               |\setcounter{lstnumber}{-3}|


More information about the Pypy-commit mailing list