Kaydet (Commit) c5e378da authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Testing for None should be done with 'is'

üst 0b569bb3
...@@ -21,7 +21,7 @@ class CallTips: ...@@ -21,7 +21,7 @@ class CallTips:
] ]
def __init__(self, editwin=None): def __init__(self, editwin=None):
if editwin == None: # subprocess and test if editwin is None: # subprocess and test
self.editwin = None self.editwin = None
return return
self.editwin = editwin self.editwin = editwin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment