summaryrefslogtreecommitdiffstats
path: root/Doc/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/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/libprofile.tex')
-rw-r--r--Doc/libprofile.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/libprofile.tex b/Doc/libprofile.tex
index 3fa79df..cdf8c4e 100644
--- a/Doc/libprofile.tex
+++ b/Doc/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