diff options
author | Raymond Hettinger <python@rcn.com> | 2002-06-01 16:07:16 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 16:07:16 (GMT) |
commit | 16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1 (patch) | |
tree | d48f5e5b73a5124cabe347106a331ad8085c0064 /Lib/profile.py | |
parent | 793d4b49361a010e4baa485ec77e3adc430f0236 (diff) | |
download | cpython-16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1.zip cpython-16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1.tar.gz cpython-16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1.tar.bz2 |
Replace boolean test with is None.
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-x | Lib/profile.py | 2 |
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 |