diff options
author | Raymond Hettinger <python@rcn.com> | 2004-05-04 08:34:56 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-05-04 08:34:56 (GMT) |
commit | c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3 (patch) | |
tree | 5be0103ded9f29c1a281df9986f532ecc7393c97 | |
parent | 0b569bb3992467850926dab9f4e8048a70a6d904 (diff) | |
download | cpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.zip cpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.tar.gz cpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.tar.bz2 |
Testing for None should be done with 'is'
-rw-r--r-- | Lib/idlelib/CallTips.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/CallTips.py b/Lib/idlelib/CallTips.py index 67d97d2..97d9746 100644 --- a/Lib/idlelib/CallTips.py +++ b/Lib/idlelib/CallTips.py @@ -21,7 +21,7 @@ class CallTips: ] def __init__(self, editwin=None): - if editwin == None: # subprocess and test + if editwin is None: # subprocess and test self.editwin = None return self.editwin = editwin |