From e3f8a64906257a2954d083d2960ff7fa135ccbf9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 21 Sep 1998 14:52:22 +0000 Subject: Comment out 't = t[0] + t[1]' in profiler_simulation() -- this function is only used when running the calibration code, and it turns out that recent changes in the timing code caused this statement to raise an exception. --- Lib/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/profile.py b/Lib/profile.py index df36c17..89fd887 100755 --- a/Lib/profile.py +++ b/Lib/profile.py @@ -517,7 +517,7 @@ class Profile: # simulate an event processing activity (from user's perspective) def profiler_simulation(self, x, y, z): t = self.timer() - t = t[0] + t[1] + ## t = t[0] + t[1] self.ut = t -- cgit v0.12