]> granicus.if.org Git - python/commitdiff
According to Tim Peters, there should be 'print' statements in one
authorGuido van Rossum <guido@python.org>
Tue, 17 Mar 1998 14:37:48 +0000 (14:37 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 17 Mar 1998 14:37:48 +0000 (14:37 +0000)
particular example.

Doc/lib/libprofile.tex
Doc/libprofile.tex

index 3fa79dffa849895eb3af35d9905b8e589bdd3d3c..cdf8c4e9cbd10a38b62193f4c7b4ff573c4eaa8e 100644 (file)
@@ -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
index 3fa79dffa849895eb3af35d9905b8e589bdd3d3c..cdf8c4e9cbd10a38b62193f4c7b4ff573c4eaa8e 100644 (file)
@@ -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