summaryrefslogtreecommitdiffstats
path: root/Doc
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
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')
-rw-r--r--Doc/lib/libprofile.tex6
-rw-r--r--Doc/libprofile.tex6
2 files changed, 6 insertions, 6 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
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