summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-05-04 08:34:56 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-05-04 08:34:56 (GMT)
commitc5e378da41641d5bc1e9b5c6c11bd470ff90b3e3 (patch)
tree5be0103ded9f29c1a281df9986f532ecc7393c97 /Lib
parent0b569bb3992467850926dab9f4e8048a70a6d904 (diff)
downloadcpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.zip
cpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.tar.gz
cpython-c5e378da41641d5bc1e9b5c6c11bd470ff90b3e3.tar.bz2
Testing for None should be done with 'is'
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/CallTips.py2
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