summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libprofile.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-17 14:37:48 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-17 14:37:48 (GMT)
commit685ef4e604be84aa40c1b3886726dcac405b1d33 (patch)
tree205a1b6885271db10a1fc166a2eda21fcfed4141 /Doc/lib/libprofile.tex
parentcce1090d49ba91cdc06c60d8a2af04d057abe7dc (diff)
downloadcpython-685ef4e604be84aa40c1b3886726dcac405b1d33.zip
cpython-685ef4e604be84aa40c1b3886726dcac405b1d33.tar.gz
cpython-685ef4e604be84aa40c1b3886726dcac405b1d33.tar.bz2
According to Tim Peters, there should be 'print' statements in one
particular example.
Diffstat (limited to 'Doc/lib/libprofile.tex')
-rw-r--r--Doc/lib/libprofile.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libprofile.tex b/Doc/lib/libprofile.tex
index 3fa79df..cdf8c4e 100644
--- a/Doc/lib/libprofile.tex
+++ b/Doc/lib/libprofile.tex
@@ -566,9 +566,9 @@ in section Limitations above).
\begin{verbatim}
import profile
pr = profile.Profile()
-pr.calibrate(100)
-pr.calibrate(100)
-pr.calibrate(100)
+print pr.calibrate(100)
+print pr.calibrate(100)
+print pr.calibrate(100)
\end{verbatim}
The argument to \method{calibrate()} is the number of times to try to