diff options
| author | Raymond Hettinger <python@rcn.com> | 2002-06-01 16:07:16 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2002-06-01 16:07:16 +0000 |
| commit | e3a032af65863e1dcfa567e5bd597206852285fa (patch) | |
| tree | 690c936621f521b9952c15d6e820256771d2cca1 /Lib/profile.py | |
| parent | b107b91918709688044030d2e2a50a10d9450580 (diff) | |
| download | cpython-e3a032af65863e1dcfa567e5bd597206852285fa.tar.gz | |
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 fa3527f03f..c1001f9005 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 |
