mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Testing for None should be done with 'is'
This commit is contained in:
parent
0b569bb399
commit
c5e378da41
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue