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/pstats.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/pstats.py')
-rw-r--r-- | Lib/pstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index 126d0be..c5d8c38 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -506,7 +506,7 @@ if __name__ == '__main__': def __init__(self, profile=None): cmd.Cmd.__init__(self) self.prompt = "% " - if profile: + if profile is not None: self.stats = Stats(profile) else: self.stats = None |