]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add deprecations for profile.HotProfile and profile.OldProfile, since they
authorFred Drake <fdrake@acm.org>
Fri, 19 Oct 2001 16:11:28 +0000 (16:11 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 19 Oct 2001 16:11:28 +0000 (16:11 +0000)
will no longer exist in 2.2.

Doc/lib/libprofile.tex

index ef8275f4a817f5cba9264ff9fb43942e065c24b2..1372a0ae7e50d7ce77f18d87961d8e532eb41ae3 100644 (file)
@@ -665,6 +665,8 @@ constant :-).
 
 \subsection{OldProfile Class \label{profile-old}}
 
+\deprecated{2.1.2}{This class will be removed in Python 2.2.}
+
 The following derived profiler simulates the old style profiler,
 providing errant results on recursive functions. The reason for the
 usefulness of this profiler is that it runs faster (i.e., less
@@ -727,6 +729,8 @@ class OldProfile(Profile):
 
 \subsection{HotProfile Class \label{profile-HotProfile}}
 
+\deprecated{2.1.2}{This class will be removed in Python 2.2.}
+
 This profiler is the fastest derived profile example.  It does not
 calculate caller-callee relationships, and does not calculate
 cumulative time under a function.  It only calculates time spent in a