summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/profile.py b/Lib/profile.py
index fa3527f..c1001f9 100755
--- a/Lib/profile.py
+++ b/Lib/profile.py
@@ -150,7 +150,7 @@ class Profile:
bias = self.bias
self.bias = bias # Materialize in local dict for lookup speed.
- if not timer:
+ if timer is None:
if os.name == 'mac':
self.timer = MacOS.GetTicks
self.dispatcher = self.trace_dispatch_mac