Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5e378d

Browse files
committed
Testing for None should be done with 'is'
1 parent 0b569bb commit c5e378d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/idlelib/CallTips.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class CallTips:
2121
]
2222

2323
def __init__(self, editwin=None):
24-
if editwin == None: # subprocess and test
24+
if editwin is None: # subprocess and test
2525
self.editwin = None
2626
return
2727
self.editwin = editwin

0 commit comments

Comments
 (0)